Hi to all,
I am using two JText field and one JButton .One of the text field should accept numeric values.while clicking the button in the event i am parsing the text field value to integer if it throws NumberFormatException i am catching the exception and displaying alert message.Upto this every thing works fine but the button turns to grayed - out version.I don't know how to avoid this effect. Help me out to solve the problem
I am using two JText field and one JButton .One of the text field should accept numeric values.while clicking the button in the event i am parsing the text field value to integer if it throws NumberFormatException i am catching the exception and displaying alert message.Upto this every thing works fine but the button turns to grayed - out version.I don't know how to avoid this effect. Help me out to solve the problem