From 416301ee83b4c098eff64db4b3059747b45012fb Mon Sep 17 00:00:00 2001 From: schlaepfer Date: Thu, 7 Dec 2006 08:06:41 +0000 Subject: [PATCH] - use pack instead of setSize to fit the windows to the correct size git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@228 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c --- java/src/ch/ntb/usb/testApp/TestApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/ch/ntb/usb/testApp/TestApp.java b/java/src/ch/ntb/usb/testApp/TestApp.java index bf0c85a..04c1cc5 100644 --- a/java/src/ch/ntb/usb/testApp/TestApp.java +++ b/java/src/ch/ntb/usb/testApp/TestApp.java @@ -89,7 +89,7 @@ public class TestApp extends JFrame { setOutEpAddr(); setInEpAddr(); - this.setSize(750, 300); + this.pack(); this.setVisible(true); }