• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting info from ur gui

 
kelly devon
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
if i have a form and i want to retrieve information from the name field into a string wat do i do in order to convert this name field in the gui to a string.
thx for the help. its really appreciated
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String name = nameField.getText();
 
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!