/[classpath]/classpath/java/awt/Window.java
ViewVC logotype

Diff of /classpath/java/awt/Window.java

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

revision 1.40 by mkoch, Wed Dec 29 14:18:25 2004 UTC revision 1.41 by mkoch, Thu Dec 30 16:51:20 2004 UTC
# Line 218  public class Window extends Container im Line 218  public class Window extends Container im
218          && gc.getDevice().getType() != GraphicsDevice.TYPE_RASTER_SCREEN)          && gc.getDevice().getType() != GraphicsDevice.TYPE_RASTER_SCREEN)
219        throw new IllegalArgumentException ("gc must be from a screen device");        throw new IllegalArgumentException ("gc must be from a screen device");
220    
221      // FIXME: until we implement this, it just causes AWT to crash.      if (gc == null)
222  //     if (gc == null)        graphicsConfiguration = GraphicsEnvironment.getLocalGraphicsEnvironment()
223  //       graphicsConfiguration = GraphicsEnvironment.getLocalGraphicsEnvironment()                                                   .getDefaultScreenDevice()
224  //         .getDefaultScreenDevice()                                                   .getDefaultConfiguration();
225  //         .getDefaultConfiguration();      else
 //     else  
226        graphicsConfiguration = gc;        graphicsConfiguration = gc;
227    }    }
228    

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

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