src/java.desktop/macosx/classes/sun/lwawt/LWToolkit.java
Print this page
@@ -41,16 +41,16 @@
import static sun.lwawt.LWWindowPeer.PeerType;
public abstract class LWToolkit extends SunToolkit implements Runnable {
- private final static int STATE_NONE = 0;
- private final static int STATE_INIT = 1;
- private final static int STATE_MESSAGELOOP = 2;
- private final static int STATE_SHUTDOWN = 3;
- private final static int STATE_CLEANUP = 4;
- private final static int STATE_DONE = 5;
+ private static final int STATE_NONE = 0;
+ private static final int STATE_INIT = 1;
+ private static final int STATE_MESSAGELOOP = 2;
+ private static final int STATE_SHUTDOWN = 3;
+ private static final int STATE_CLEANUP = 4;
+ private static final int STATE_DONE = 5;
private int runState = STATE_NONE;
private Clipboard clipboard;
private MouseInfoPeer mouseInfoPeer;
@@ -452,18 +452,18 @@
// ---- UTILITY METHODS ---- //
/*
* Expose non-public targetToPeer() method.
*/
- public final static Object targetToPeer(Object target) {
+ public static final Object targetToPeer(Object target) {
return SunToolkit.targetToPeer(target);
}
/*
* Expose non-public targetDisposedPeer() method.
*/
- public final static void targetDisposedPeer(Object target, Object peer) {
+ public static final void targetDisposedPeer(Object target, Object peer) {
SunToolkit.targetDisposedPeer(target, peer);
}
/*
* Returns the current cursor manager.