Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Make jtext field better
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh pageAdd this topic to your bookmarks (CTRL-D) View next topic
Author Message
Junaid2pac




PostPosted: Tue Jan 15, 2008 6:25 pm   Post subject: Make jtext field better

i have a jtext field in my program but am wondering how i can make it so u can only enter numbers and decimals
 
Sponsor
Sponsor
Sponsor
sponsor
Euphoracle




PostPosted: Tue Jan 15, 2008 8:54 pm   Post subject: RE:Make jtext field better

Perhaps there is an event you can hook into to filter characters. I know there's one for Windows Forms, Swing should be similar if it follows a similar design.
 
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh pageAdd this topic to your bookmarks (CTRL-D) View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: