File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes customize JFileChooser ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "customize JFileChooser ?" Watch "customize JFileChooser ?" New topic

customize JFileChooser ?

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510


in JFileChooser there is a look in combobox that lists the drives and folders of user machine.

I simply want to hide all JFileChooser components except this "look in " combobox.
how can we do that ? or should i write a drive/folder combo picker from scratch ? and how ?

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
was the spoon not big enough?
I agree. Here's the link:
subject: customize JFileChooser ?
It's not a secret anymore!