Pushpa Sheela
JTextBox
1 Answer(s)      2 years and 8 months ago
Posted in : Java Beginners

i hava 3 textboxes.
1. Income
2.Expense
3.Balance=fix 500 in first.

If i enter income amount then the balance amount increment automatically.(ie)
i am enter 200 in first textbox then the balance textbox value change to 700.

If i enter expense amount 300 then the balance text box value change to 400.

Please help me.
View Answers

September 14, 2010 at 3:49 PM


Hi!!!I am not providing the exact answer but giving you hints.You use keyboard listener to trace the amount entered in income or expanse textbox. Then calculate the balance amount and change its value.









Related Pages:
JTextBox - Java Beginners
JTextBox   i hava 3 textboxes. 1. Income 2.Expense 3.Balance=fix 500 in first. If i enter income amount then the balance amount increment automatically.(ie) i am enter 200 in first textbox then the balance textbox value
How to remove the space between a JComponent and its Grid border while using GridBagLayout?
the gridwidth=1;when I try to add a JTextBox ater the Label,there I find huge
Connect J ComboBox with Databse - Java Beginners
Connect J ComboBox with Databse  Hello Sir I want To Connect MS Access Database with JComboBox , when I Select any Item from Jcombobox Related Records will Display in to JTextBox eg when i select MBA then fees ,Duration

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.