5 ) );
setContentPane( contentPane );
contentPane.setLayout( new BoxLayout( contentPane,
BoxLayout.Y_AXIS ) );
JToolBar toolBar_1 = new JToolBar();
toolBar_1.setAlignmentX( Component.LEFT_ALIGNMENT );
contentPane.add( toolBar_1 );
JToggleButton newFrame = new JToggleButton( "New Window" );
toolBar_1.add( newFrame );
newFrame.addActionListener( new ActionListener() {
public void actionPerformed(ActionEvent e) {
TextAdventure.createFrame( gameEngine,
JFrame.DISPOSE_ON_CLOSE );
}