Ok i got this bit of code
if (Output_Capacity_TextField.getText().compareTo ("") < 100)
{JOptionPane.showMessageDialog (null,
"Error: Output Capacity must be larger than 100!",
"Error!", JOptionPane.ERROR_MESSAGE);
But when i type a number above 100 in the textfield specified it still shows the error message????
please help
I am using textpad 5
if (Output_Capacity_TextField.getText().compareTo ("") < 100)
{JOptionPane.showMessageDialog (null,
"Error: Output Capacity must be larger than 100!",
"Error!", JOptionPane.ERROR_MESSAGE);
But when i type a number above 100 in the textfield specified it still shows the error message????
please help
I am using textpad 5