summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/demos/hdr/HDR.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/hdr/HDR.java b/src/demos/hdr/HDR.java
index 86a9bbe..2e650fc 100755
--- a/src/demos/hdr/HDR.java
+++ b/src/demos/hdr/HDR.java
@@ -176,11 +176,11 @@ public class HDR {
frame = new Frame("HDR test");
frame.setLayout(new BorderLayout());
- frame.setResizable(false);
canvas.setSize(win_w, win_h);
frame.add(canvas, BorderLayout.CENTER);
frame.pack();
+ frame.setResizable(false);
frame.show();
canvas.requestFocus();