aspose file tools*
The moose likes Beginning Java and the fly likes Getting values from textfield Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Getting values from textfield" Watch "Getting values from textfield" New topic
Author

Getting values from textfield

Garry Meax
Ranch Hand

Joined: Feb 11, 2005
Posts: 31


this method is used to get the value in a text field and return it as a integer value.
can someone tell me why JTextField CurrentValue is used. normally i see String CurrentValue or int CurrentValue.

can someone explain this to me
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
In the method you posted currentValue is the name of an instance of the class type JTextField. This instance is passed as an argument into the getValue method.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting values from textfield