Java Swing Tutorial - Java DataFlavor .isFlavorJavaFileListType ()


DataFlavor.isFlavorJavaFileListType() has the following syntax.

public boolean isFlavorJavaFileListType()


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

import java.awt.datatransfer.DataFlavor;
//from   ww w.  ja v  a 2s .  co m
public class Main {

  public static void main(String[] args) {

    DataFlavor df = DataFlavor.stringFlavor;

    System.out.println (df.isFlavorJavaFileListType ());

The code above generates the following result.