aboutsummaryrefslogtreecommitdiffstats
path: root/gl4java/swing/GLJPanel.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-12-11 07:38:23 +0000
committerSven Gothel <[email protected]>2001-12-11 07:38:23 +0000
commit10f15a12d51ef116c46140a45875c011d9c1dbd8 (patch)
tree32f65cb863a89b7cf96311cd91fa93e7abc1402a /gl4java/swing/GLJPanel.java
parent6abd5e8b0dd518a2438000126ca5886124986040 (diff)
GL4Java 2.8.2.0rel-2-8-2-0-rc
kbr's jawt synamic loader installer fixes minor cleanups
Diffstat (limited to 'gl4java/swing/GLJPanel.java')
-rw-r--r--gl4java/swing/GLJPanel.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/gl4java/swing/GLJPanel.java b/gl4java/swing/GLJPanel.java
index 011e381..e3c83c3 100644
--- a/gl4java/swing/GLJPanel.java
+++ b/gl4java/swing/GLJPanel.java
@@ -627,6 +627,26 @@ public class GLJPanel extends JPanel
size=super.getSize();
gr.drawImage(offImage, 0, 0, size.width, size.height, this);
}
+ /**
+ *
+ * This one is done by Toshiyuki
+ * It solves the problem of the upside-down
+ * problem, but i am affraid it is too slow ..
+ *
+ Graphics2D gr2d = (Graphics2D) gr;
+ if(!customOffScrnSize) {
+ gr2d.drawImage(offImage,
+ new AffineTransform(1, 0, 0, -1, 0, offImage.getHeight()),
+ this);
+ }
+ else {
+ size=super.getSize();
+ gr2d.drawImage(offImage,
+ new AffineTransform(1, 0, 0, -1, 0, offImage.getHeight()),
+ this);
+ }
+ *
+ */
_f_dur_total = System.currentTimeMillis()-_s;
if(GLContext.gljClassDebug)