• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jfilechooser

 
Rakesh shankar
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> I am using Jfilechooser. On clicking on any character...

where are the characters?
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic