jdk/src/share/classes/java/awt/Window.java
changeset 3446 4a07252d2e92
parent 3444 18840bd1c784
child 3454 0d34cbec5989
equal deleted inserted replaced
3445:39d00a6cac5e 3446:4a07252d2e92
  3627         wy = Window.limit(wy,
  3627         wy = Window.limit(wy,
  3628                 y - securityWarningHeight - 2,
  3628                 y - securityWarningHeight - 2,
  3629                 y + h + 2);
  3629                 y + h + 2);
  3630 
  3630 
  3631         // Now make sure the warning window is visible on the screen
  3631         // Now make sure the warning window is visible on the screen
       
  3632         GraphicsConfiguration graphicsConfig =
       
  3633             getGraphicsConfiguration_NoClientCode();
  3632         Rectangle screenBounds = graphicsConfig.getBounds();
  3634         Rectangle screenBounds = graphicsConfig.getBounds();
  3633         Insets screenInsets =
  3635         Insets screenInsets =
  3634             Toolkit.getDefaultToolkit().getScreenInsets(graphicsConfig);
  3636             Toolkit.getDefaultToolkit().getScreenInsets(graphicsConfig);
  3635 
  3637 
  3636         wx = Window.limit(wx,
  3638         wx = Window.limit(wx,