Java Swing Tutorial - Java DataFlavor .isRepresentationClassRemote ()








Syntax

DataFlavor.isRepresentationClassRemote() has the following syntax.

public boolean isRepresentationClassRemote()

Example

In the following code shows how to use DataFlavor.isRepresentationClassRemote() method.

/*from ww w  . j  a v a2s .  com*/
import java.awt.datatransfer.DataFlavor;

public class Main {

  public static void main(String[] args) {

    DataFlavor df = DataFlavor.stringFlavor;

    System.out.println (df.isRepresentationClassRemote ());
  }
}

The code above generates the following result.