i want to add isEnabled() method to JTextField, i write a code
but it is giving message just after compilation of program instead when tRate is enabledtRate=new JTextField(); if (tRate.isEnabled()){ JOptionPane.showMessageDialog(c,"press any key to get rate"); }