12131415161718192021
MainFrame main = null; PictureHandler pictureHandler; private String error; public void run() { main = new MainFrame(); main.setVisible(true); main.setPicH(pictureHandler); main.setError(error); }