| | |
Netbeans Input Fields
![]() |
•
•
Join Date: Jul 2009
Posts: 81
Reputation:
Solved Threads: 1
Hi,
I am trying to develop a GUI application that has a text area for a 10 digit number. I would prefer to right click on the field and select a max length and "number type" instead of coding an 'if function on keypress' and so on. Is this possible?
I looked but didn't find anything, perhaps I'm not looking in the right places...
Thanks,
-Ashton.
I am trying to develop a GUI application that has a text area for a 10 digit number. I would prefer to right click on the field and select a max length and "number type" instead of coding an 'if function on keypress' and so on. Is this possible?
I looked but didn't find anything, perhaps I'm not looking in the right places...
Thanks,
-Ashton.
Tutorial for drag&drop "developers" Designing a Swing GUI in NetBeans IDE
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
All your dreams come true when you click on the component and check the Properties tab (normally on the right).
If by any chance you do not see this panel then from main menu select Window >> Properties or Ctrl+Shift+7
If by any chance you do not see this panel then from main menu select Window >> Properties or Ctrl+Shift+7
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Jul 2009
Posts: 81
Reputation:
Solved Threads: 1
•
•
•
•
Hi,
I am trying to develop a GUI application that has a text area for a 10 digit number. I would prefer to right click on the field and select a max length and "number type" instead of coding an 'if function on keypress' and so on. Is this possible?
I looked but didn't find anything, perhaps I'm not looking in the right places...
Thanks,
-Ashton.
PS: Why do I always have to argue with some big shot before I can get an answer on this website? It would work so much better if we were all willing to listen before talking I think.
Thanks again,
-Ashton.
Last edited by AshtonHogan; Sep 30th, 2009 at 9:41 am.
Last edited by peter_budo; Sep 30th, 2009 at 10:15 am.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Apr 2008
Posts: 972
Reputation:
Solved Threads: 145
I'm an Eclipse user myself, so I can't address NetBeans, but I thought if NetBeans supports JFormattedTextField in its GUI builder (which it really should) then it should have the standard format options available for you to pick from including numeric type & length.
Good suggestion James, there is of course one in NetBeans.
Last edited by peter_budo; Sep 30th, 2009 at 10:21 am.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Disable/Lock Text Input Form Fields (JavaScript / DHTML / AJAX)
- Using drop down to populate input fields (PHP)
- Validate Input Fields (PHP)
- JSP input fields and tabpage (Java)
- help Creating "input-fields" (Visual Basic 4 / 5 / 6)
- Tab control on hidden input fields (HTML and CSS)
Other Threads in the Java Forum
- Previous Thread: JTree + TextArea
- Next Thread: Learning mobile development
| Thread Tools | Search this Thread |
.net ajax api apple applet application appportability apps array automation bank binary browser c++ character class classes clear code columns compile compiler component consumer convert database design development eclipse ee error event examples firefox forms fractal freeze game givemetehcodez google gui gwt html image images int integer java javafx javascript jetbrains julia jvm lego linux loan loop looping method methods microsoft myaggfun mysql netbeans newbie officefileformats online php poi printf problem programming projectideas property pyglet pyqt python rim se search set software solaris sort sqlite sun support swing text-file textfields threads time tree ui virtualbox virtualization web windows working wxpython








