For some reason, I can't seem to get this to work:
public class App {
    public static void main(String[] args){
            JFrame frame = new JFrame("Hi");
            frame.setSize(300, 400);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
    }
}
No matter what size I pass to setSize(), the resulting window when I run the program is still tiny. Any suggestions?
 
     
    