summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/awt/GraphicsDevice.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/awt/GraphicsDevice.java')
-rw-r--r--libjava/classpath/java/awt/GraphicsDevice.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/classpath/java/awt/GraphicsDevice.java b/libjava/classpath/java/awt/GraphicsDevice.java
index 95487a2a1cc..c99c14b1b1d 100644
--- a/libjava/classpath/java/awt/GraphicsDevice.java
+++ b/libjava/classpath/java/awt/GraphicsDevice.java
@@ -175,7 +175,7 @@ public abstract class GraphicsDevice
// Restore the previous window to normal mode and release the reference.
if (full_screen != null)
{
- full_screen.setBounds(fullScreenOldBounds);
+ full_screen.setBounds(fullScreenOldBounds);
}
full_screen = null;
@@ -183,12 +183,12 @@ public abstract class GraphicsDevice
// If w != null, make it full-screen.
if (w != null)
{
- fullScreenOldBounds = w.getBounds();
- full_screen = w;
- DisplayMode dMode = getDisplayMode();
- full_screen.setBounds(0, 0, dMode.getWidth(), dMode.getHeight());
- full_screen.requestFocus();
- full_screen.setLocationRelativeTo(null);
+ fullScreenOldBounds = w.getBounds();
+ full_screen = w;
+ DisplayMode dMode = getDisplayMode();
+ full_screen.setBounds(0, 0, dMode.getWidth(), dMode.getHeight());
+ full_screen.requestFocus();
+ full_screen.setLocationRelativeTo(null);
}
}