• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting the "Tree View" Dialog Box

 
Darren Alexandria
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day!

May I ask what do you call the "Dialog Box" that pops up if you click a button say, "Browse" which shows all the files in the file System and then you select a folder, click OK and all of its contents will be retrieved? Its like in WinAmp music player where you want to add file/folders then you click a button, a dialog box will appear, then you select a folder, click OK and then the contents of that folder will be retrieved.

Sorry, I find it hard to explain this concept.


Thanks.
 
Rob Spoor
Sheriff
Pie
Posts: 20494
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's called a File Dialog.

In Java there are two classes that will already do what you need: JFileChooser in Swing and FileDialog in AWT.
 
Darren Alexandria
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so much for the information.

Another question would be, can I use it in Struts? I need to implement it on Struts.

Thanks again.

Darren
[ September 11, 2007: Message edited by: Darren Alexandria ]
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic