Java DataFlavor imageFlavor

Syntax

DataFlavor.imageFlavor has the following syntax.

public static final DataFlavor imageFlavor

Example

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


//ww  w  .ja  v  a2  s .  c o m
import java.awt.datatransfer.DataFlavor;

public class Main {

  public static void main(String[] args) {

    DataFlavor df = DataFlavor.imageFlavor;

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




















Home »
  Java Tutorial »
    java.awt.datatransfer »




Clipboard
ClipboardOwner
DataFlavor
Transferable