Java Swing Tutorial - Java DataFlavor javaJVMLocalObjectMimeType


DataFlavor.javaJVMLocalObjectMimeType has the following syntax.

public static final String javaJVMLocalObjectMimeType


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

import java.awt.datatransfer.DataFlavor;
//from   www  .j ava 2  m
public class Main {

  public static void main(String[] args) {

    String df = DataFlavor.javaJVMLocalObjectMimeType;

    System.out.println (df);

The code above generates the following result.