Results 1 to 3 of 3
Thread: parseInt and getText
- 01-14-2011, 12:00 PM #1
Member
- Join Date
- Oct 2010
- Posts
- 9
- Rep Power
- 0
- 01-14-2011, 12:16 PM #2
Where is the parameter for parseInt method? It takes a String usually which gets converted into integer. Refer here: Integer.parseInt
The right way to call a method with a object reference is to use the dot operator with no space. Like,
Java Code:object_variable.method_name(parameter(s) list)
Following won't work [Considering you are calling getText() of JTextComponent.]
Java Code:jTextField4, getText()
Can you now figure out what went wrong?
GoldestJava Is A Funny Language... Really!.gif)
Click on * and add to member reputation, if you find their advices/solutions effective.
- 01-14-2011, 03:16 PM #3
Member
- Join Date
- Oct 2010
- Posts
- 9
- Rep Power
- 0
Similar Threads
-
Help with getText()
By geekchick in forum New To JavaReplies: 17Last Post: 08-06-2010, 05:36 PM -
getText(); problem
By The_Sponzy_Paradox in forum Java AppletsReplies: 5Last Post: 04-22-2010, 03:07 AM -
What format is a getText()?
By AJArmstron@aol.com in forum New To JavaReplies: 1Last Post: 04-18-2010, 01:43 AM -
gettext problems
By gisler in forum AWT / SwingReplies: 3Last Post: 12-01-2009, 07:35 PM -
how to getText() properly?
By javamula in forum New To JavaReplies: 12Last Post: 09-16-2009, 05:45 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks