System.out.println("Starting App"); System.err.println("Starting err app"); MainFrame f = new MainFrame(); f.add(new DrawCanvas(), "Center"); f.setSize(300,300); f.show();