Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

write combo value into textfile  RSS feed

 
Paru kutty
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,I would like to know how to read combobox item &write selected item into a textfile...have used getSelectedItem() to retrieve the combobox selected item..then how can i write content into textfile??would appreciate it much if someone can help me here...thanking you in advance...
 
Rob Spoor
Sheriff
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You've solved the Swing stuff, so it's only I/O that remains. Moving there.
 
Jim Jacob
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope this helps:
http://www.javacoffeebreak.com/java103/java103.html
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!