• Post Reply Bookmark Topic Watch Topic
  • New Topic

FileChooser

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i use FileChooser in swing.
i wants to design notepad example, from file list box how can i
open any file that has been selected.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The selector doesn't open the file. All it does is give you the name of the file chosen. You must get that name from the File Chooser and do whatever you want with it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!