88 |
{ |
{ |
89 |
Hashtable containers = new Hashtable(); |
Hashtable containers = new Hashtable(); |
90 |
static EventQueue q; |
static EventQueue q; |
|
static Clipboard systemClipboard; |
|
91 |
static boolean useGraphics2dSet; |
static boolean useGraphics2dSet; |
92 |
static boolean useGraphics2d; |
static boolean useGraphics2d; |
93 |
|
|
135 |
|
|
136 |
public GtkToolkit () |
public GtkToolkit () |
137 |
{ |
{ |
|
systemClipboard = new GtkClipboard (); |
|
138 |
} |
} |
139 |
|
|
140 |
public native void beep(); |
public native void beep(); |
404 |
|
|
405 |
public Clipboard getSystemClipboard() |
public Clipboard getSystemClipboard() |
406 |
{ |
{ |
407 |
return systemClipboard; |
SecurityManager secman = System.getSecurityManager(); |
408 |
|
if (secman != null) |
409 |
|
secman.checkSystemClipboardAccess(); |
410 |
|
|
411 |
|
return GtkClipboard.getInstance(); |
412 |
} |
} |
413 |
|
|
414 |
/** |
/** |