/[classpath]/classpath/gnu/java/awt/peer/gtk/GtkToolkit.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GtkToolkit.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.73 by fitzsim, Mon Aug 15 18:32:38 2005 UTC revision 1.74 by mark, Tue Aug 16 18:16:26 2005 UTC
# Line 88  public class GtkToolkit extends gnu.java Line 88  public class GtkToolkit extends gnu.java
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    
# Line 136  public class GtkToolkit extends gnu.java Line 135  public class GtkToolkit extends gnu.java
135    
136    public GtkToolkit ()    public GtkToolkit ()
137    {    {
     systemClipboard = new GtkClipboard ();  
138    }    }
139    
140    public native void beep();    public native void beep();
# Line 406  public class GtkToolkit extends gnu.java Line 404  public class GtkToolkit extends gnu.java
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    /**    /**

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26