myFrame.setSize(800, 600); ImageIcon biosimIcon = new ImageIcon(ClassLoader.getSystemResource("com/traclabs/biosim/client/framework/biosim.png")); myFrame.setIconImage(biosimIcon.getImage());
    public static void main(String[] args) {        Properties logProps = new Properties();        logProps.setProperty("log4j.rootLogger", "DEBUG, rootAppender");        logProps.setProperty("log4j.appender.rootAppender",                "org.apache.log4j.ConsoleAppender");        logProps.setProperty("log4j.appender.rootAppender.layout",                "org.apache.log4j.PatternLayout");        logProps.setProperty(                "log4j.appender.rootAppender.layout.ConversionPattern",                "%5p [%c] - %m%n");        PropertyConfigurator.configure(logProps);        BioFrame myFrame = new BioFrame("Photosynthesis Model", false);        myFrame.getContentPane().add(new PhotosynthesisPanel());        myFrame.pack();        myFrame.setVisible(true);    }