TextField error checking
From: - ions (negative_ions_0_at_hotmail.com)
Date: 12/21/03
- Previous message: Anthony Borla: "Re: Real Newbie Question"
- Next in thread: hiwa: "Re: TextField error checking"
- Reply: hiwa: "Re: TextField error checking"
- Reply: Anthony Borla: "Re: TextField error checking"
- Reply: Todd Corley: "Re: TextField error checking"
- Reply: Tony Morris: "Re: TextField error checking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Dec 2003 05:07:44 -0800
I have created a JComboBox with its Items as a list of "M" numbers ie.
M1,M2,M3.......throgh too M110 (thes are the messier objects, a
catolouge of deep sky objects) the user selects of of these and views
it aswell as infomation. The program also has a JTextFiels which
allows the user to enter the M number. The problem i have is checking
that what the user has entered is valid, that being an M followed by 1
- 110 Nothing else, i thought of checking it against the items in the
comboBox with itemAt() but i cudnt work out a way of looping through
them, and using that within the if() Expression.... please help.
- Previous message: Anthony Borla: "Re: Real Newbie Question"
- Next in thread: hiwa: "Re: TextField error checking"
- Reply: hiwa: "Re: TextField error checking"
- Reply: Anthony Borla: "Re: TextField error checking"
- Reply: Todd Corley: "Re: TextField error checking"
- Reply: Tony Morris: "Re: TextField error checking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]