- 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
This commit is contained in:
@@ -89,7 +89,7 @@ public class TestApp extends JFrame {
|
||||
setOutEpAddr();
|
||||
setInEpAddr();
|
||||
|
||||
this.setSize(750, 300);
|
||||
this.pack();
|
||||
this.setVisible(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user