equal
deleted
inserted
replaced
31 |
31 |
32 import javax.swing.RootPaneContainer; |
32 import javax.swing.RootPaneContainer; |
33 |
33 |
34 import com.apple.eawt.AppEvent.FullScreenEvent; |
34 import com.apple.eawt.AppEvent.FullScreenEvent; |
35 |
35 |
|
36 import javax.tools.annotation.GenerateNativeHeader; |
|
37 |
|
38 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
39 @GenerateNativeHeader |
36 final class FullScreenHandler { |
40 final class FullScreenHandler { |
37 private static final String CLIENT_PROPERTY = "com.apple.eawt.event.internalFullScreenHandler"; |
41 private static final String CLIENT_PROPERTY = "com.apple.eawt.event.internalFullScreenHandler"; |
38 |
42 |
39 static final int FULLSCREEN_WILL_ENTER = 1; |
43 static final int FULLSCREEN_WILL_ENTER = 1; |
40 static final int FULLSCREEN_DID_ENTER = 2; |
44 static final int FULLSCREEN_DID_ENTER = 2; |