This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How to use tab key and hot-keys in JFileChooser dialog? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to use tab key and hot-keys in JFileChooser dialog?" Watch "How to use tab key and hot-keys in JFileChooser dialog?" New topic
Author

How to use tab key and hot-keys in JFileChooser dialog?

vo hien duc
Greenhorn

Joined: Nov 11, 2008
Posts: 1
Hi Everyone,

I am using JFileChooser to open a dialog. I use the tab key to select between the icons and buttons on the dialog. But when I press Enter key, there is no action happen. Please help me with this.

Thanks,
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38075
    
  22
Welcome to JavaRanch

I think you are supposed to use space to activate a highlighted button like that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use tab key and hot-keys in JFileChooser dialog?
 
Similar Threads
problem with JDialog
Weird WinXP problem with JFileChooser
JFileChooser
How do I make save and saveAs
Problem when using JFileChooser in JApplet