// Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
// frame.setLocation((screenSize.width-frame.getWidth())/2, (screenSize.height-frame.getHeight())/2);
if (marioComponentFrame == null)
{
marioComponentFrame = new JFrame(evaluationOptions.getAgentName());
marioComponent = new MarioComponent(320, 240);
marioComponentFrame.setContentPane(marioComponent);
marioComponent.init();
marioComponentFrame.pack();
marioComponentFrame.setResizable(false);
marioComponentFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);