Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes Jfilechooser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jfilechooser" Watch "Jfilechooser" New topic
Author

Jfilechooser

Rakesh shankar
Greenhorn

Joined: Nov 12, 2010
Posts: 14
Hi all,

I am using Jfilechooser. On clicking on any character I need to implement file name suggestion.
For example: If I entered T then it should suggest all files that begins with character T.

Please suggest how to implement this?

Thanks,
Rakesh
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> I am using Jfilechooser. On clicking on any character...

where are the characters?
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 485

Rakesh shankar wrote:Hi all,

I am using Jfilechooser. On clicking on any character I need to implement file name suggestion.
For example: If I entered T then it should suggest all files that begins with character T.

Please suggest how to implement this?

Thanks,
Rakesh


As far as I know, currently the JFileChooser does not have any API that supports implement your requested feature. You should alter the source code of the JFileChooser class.


PM Me If You Want to get Urgent Help on Java Programming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jfilechooser
 
Similar Threads
<HTML:TEXT> tag issue
File browser crash course
Is there any Browse button control in Swing ??
how to write coding for browse button in java swing?
Can't set the Location of FileDialog