public void actionPerformed(ActionEvent arg0) {
	    		
	    		String str = (String)box.getSelectedItem();
	    		boolean b=selectbutton.hasFocus();
	    		
	    		if(str==choice[0] && b)
	    		{
	    			ColorBandToValues exe;
					try {
						exe = new ColorBandToValues();
		    			exe.getCBVFrame();
		    			exe.getChoiceColor();
		    			exe.setChoiceFonts();
		    			exe.setChoiceLocation();
					} catch (IOException e) {
						e.printStackTrace();
					}			
	    		}
	    		else if(str==choice[1] && b)
	    		{
	    		    ValuesToBand exe;
					try {
						exe = new ValuesToBand();
		    			exe.getChoiceColor();
		    			exe.setChoiceFonts();
		    			exe.setChoiceLocation();
		    			exe.getVTBFrame();	
					} catch (IOException e) {
						e.printStackTrace();
					}
			
	    		}
	    		else if(exitbutton.hasFocus())
	    		{
	    			System.exit(0);
	    		}
	    		else if(credits.hasFocus())
	    		{
	    			Credits a;
					try {
						a = new Credits();
		    	        a.getCredits();
					} catch (IOException e) {
						e.printStackTrace();
					}
	
	    		}
	    		
	    	}