A project I'm working on has this awful problem wherein the JFrame refuses to resize in Linux. I've tried the
setResizable(true) method, both in the constructor and outside of it, but no go. It works fine on Windows. And I'm using Java 1.6 if that makes any difference. Am I just forgetting something stupid?
/* from main() */ ITSUCSFrame jf = new ITSUCSFrame(); jf.pack(); jf.setVisible(true); jf.setResizable(true);
/* from constructor */ initComponents(); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setResizable(true); // the next line is to make it larger than a handful of pixels :( setMinimumSize(new Dimension(800,600));