public void actionPerformed(ActionEvent arg) 
	{
		Object ev = arg.getSource();
		
		if(ev == submit)
		{
			float income, billsamt, gasamt, foodamt,entamt ;
			try
			{
				income = Float.parseFloat(gross.getText());
				billsamt = Float.parseFloat(billsex.getText());
				gasamt = Float.parseFloat(gasex.getText());
				foodamt = Float.parseFloat(foodex.getText());
				entamt = Float.parseFloat(entex.getText());
				
				m_clientinfo.setName(name.getText());
				m_clientinfo.setIncome(income);
				
				Expense[] expenses = new Expense[4];
				expenses[0] = new Expense("Bills", billsamt, 0);
				expenses[1] = new Expense("Food", foodamt, 1);
				expenses[2] = new Expense("Gas", gasamt, 2);
				expenses[3] = new Expense("Entertainment", entamt, 3);
					
				m_clientinfo.setExpenses(expenses);
					
				float percentage = 0.0f;
				if(tenpercent.isSelected())
				{
					percentage = 0.10f;
				}
				else if(fifteenpercent.isSelected())
				{
					percentage = 0.15f;
				}
				else if(twentypercent.isSelected())
				{
					percentage = 0.20f;
				}
				m_clientinfo.setSavings(percentage);
				
				((FinanceWindow) this.getTopLevelAncestor()).addClientInfoTab(m_clientinfo);
				((FinanceWindow) this.getTopLevelAncestor()).removePreviousTab();
			}
			catch(NumberFormatException e)
			{
				JOptionPane.showMessageDialog(null, "Please enter valid values!");
			}
		}
	}