textfield.gettext()
|
|

String p = textfield.gettext();
try
{
int value = Integer.ParseInt(textfield.gettext());
}
catch
{
System.out.println("ONLY NUBMERS!!")
}
}
i reccomend using intellij idea instead of netbains.
| « Error rep++ | Need help. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |