124 |
|
|
125 |
// Register ImageIO SPIs |
// Register ImageIO SPIs |
126 |
GdkPixbufDecoder.registerSpis( IIORegistry.getDefaultInstance() ); |
GdkPixbufDecoder.registerSpis( IIORegistry.getDefaultInstance() ); |
127 |
|
|
128 |
|
new Thread ("GTK main thread") |
129 |
|
{ |
130 |
|
public void run () |
131 |
|
{ |
132 |
|
gtkMain (); |
133 |
|
} |
134 |
|
}.start (); |
135 |
} |
} |
136 |
|
|
137 |
public GtkToolkit () |
public GtkToolkit () |
652 |
return new GdkRobotPeer (screen); |
return new GdkRobotPeer (screen); |
653 |
} |
} |
654 |
|
|
655 |
public native boolean nativeQueueEmpty(); |
public static native void gtkMain(); |
|
public native void wakeNativeQueue(); |
|
|
public native void iterateNativeQueue(EventQueue locked, boolean block); |
|
|
|
|
656 |
} // class GtkToolkit |
} // class GtkToolkit |