From b65a4af4324dbb93519f89ce51f24448909c171a Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Wed, 22 Nov 2006 22:09:54 +0000 Subject: format clean up --- src/jake2/render/opengl/Jsr231Driver.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/jake2/render/opengl/Jsr231Driver.java b/src/jake2/render/opengl/Jsr231Driver.java index 81ee169..733b3f8 100644 --- a/src/jake2/render/opengl/Jsr231Driver.java +++ b/src/jake2/render/opengl/Jsr231Driver.java @@ -2,7 +2,7 @@ * JoglCommon.java * Copyright (C) 2004 * - * $Id: Jsr231Driver.java,v 1.3 2006-11-22 15:05:39 cawe Exp $ + * $Id: Jsr231Driver.java,v 1.4 2006-11-22 22:09:54 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -161,11 +161,11 @@ public abstract class Jsr231Driver extends Jsr231GL implements GLDriver { ImageIcon icon = new ImageIcon(getClass().getResource("/icon-small.png")); window.setIconImage(icon.getImage()); - Display canvas = new Display(); + Display canvas = new Display(); // we want keypressed events for TAB key canvas.setFocusTraversalKeysEnabled(false); - window.getContentPane().add(canvas); + window.getContentPane().add(canvas); canvas.setSize(newDim.width, newDim.height); // register event listener @@ -222,7 +222,7 @@ public abstract class Jsr231Driver extends Jsr231GL implements GLDriver { // let the sound and input subsystems know about the new window VID.NewWindow(newDim.width, newDim.height); - setGL(display.getGL()); + setGL(display.getGL()); return Base.rserr_ok; } @@ -238,8 +238,8 @@ public abstract class Jsr231Driver extends Jsr231GL implements GLDriver { } } if (window != null) { - display.destroy(); - window.dispose(); + display.destroy(); + window.dispose(); } } -- cgit v1.2.3