< prev index next >
modules/javafx.graphics/src/main/java/com/sun/glass/ui/CommonDialogs.java
Print this page
rev 10044 : 8166471: use @Native annotation in graphics, windows
Reviewed-by: kcr
@@ -22,10 +22,11 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.glass.ui;
+import java.lang.annotation.Native;
import java.io.IOException;
import java.util.List;
import java.util.ArrayList;
import java.io.File;
@@ -35,12 +36,12 @@
* Available file chooser types.
*
* @see #showFileChooser
*/
public static final class Type {
- public static final int OPEN = 0;
- public static final int SAVE = 1;
+ @Native public static final int OPEN = 0;
+ @Native public static final int SAVE = 1;
}
/**
* Provides a mechanism to filter different kinds of file name extensions.
*
< prev index next >