code.mattcampbell.net breakinvaders / db213f9337
Adding scale so I can develop on my netbook .. Matt Campbell 7 years ago
3232 var app = new JFrame();
3333 var pane = new JPanel();
3434 var done = false;
35 var scale = .8;
35 var scale = 480 / height;
3636 var size = new Dimension(width * scale, height * scale);
3737 pane.setPreferredSize(size);
3838 app.add(pane);