@Override
			public void actionPerformed(ActionEvent arg0) 
			{
				endingFrame.setVisible(false);
				endingFrame.dispose();
			
				begFrame.setVisible(false);
				Empire.EmpireDrawer.empireFrame.dispose();
				begFrame.dispose();
				
				System.exit(0);
				
			}