Java Swing Tutorial - Java DataFlavor javaRemoteObjectMimeType


DataFlavor.javaRemoteObjectMimeType has the following syntax.

public static final String javaRemoteObjectMimeType


In the following code shows how to use DataFlavor.javaRemoteObjectMimeType field.

/* w  ww .j  a  v a  2 s.  co m*/
import java.awt.datatransfer.DataFlavor;

public class Main {

  public static void main(String[] args) {

    String df = DataFlavor.javaRemoteObjectMimeType;

    System.out.println (df);

The code above generates the following result.