Results 1 to 9 of 9
Thread: Texfield numeric Input
- 08-10-2011, 04:48 PM #1
Member
- Join Date
- Jul 2011
- Posts
- 76
- Rep Power
- 0
-
At what step are you stuck? I assume that you know how to get text out of and put text into a JTextField, right? Are you stuck at parsing the String into a number?
-
And are you going to post your question and ignore all replies just as you did in your previous thread: Components not displaying on JFrame
If so, why bother replying if you're not going to reply back and acknowledge help given?
- 08-10-2011, 05:02 PM #4
Member
- Join Date
- Jul 2011
- Posts
- 76
- Rep Power
- 0
i don't even know how to parse String into a number
-
Google can help you but for now look here: JRJC - How To Convert a String to an int.
And also, please reply to the kind folks who helped you in your previous thread. This is certainly not asking too much of you, you think?
- 08-10-2011, 05:21 PM #6
Member
- Join Date
- Jul 2011
- Posts
- 76
- Rep Power
- 0
i have an idea how to do this now.First i should parse the string input to an integer, then do my calculations,after doing my calculation parse the result back to a string, then display it in a textField.
-
- 08-10-2011, 05:35 PM #8
Member
- Join Date
- Jul 2011
- Posts
- 76
- Rep Power
- 0
-
Similar Threads
-
Set TexField to false
By globo in forum New To JavaReplies: 3Last Post: 11-18-2010, 08:46 PM -
Index out of bounds Numeric analyzer.
By Sean_J in forum New To JavaReplies: 3Last Post: 03-17-2010, 03:06 PM -
JXL, Numeric data issue
By only2008 in forum Java ServletReplies: 0Last Post: 02-27-2009, 11:36 AM -
get numeric value from a text field
By Lehane_9 in forum New To JavaReplies: 2Last Post: 06-14-2008, 03:19 AM -
Allowing only numeric values in a TextField
By Java Tip in forum Java TipReplies: 0Last Post: 03-01-2008, 10:08 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks