A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How to use tab key and hot-keys in JFileChooser dialog?
vo hien duc
Joined: Nov 11, 2008
Nov 11, 2008 23:17:00
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.
Joined: Oct 13, 2005
Nov 12, 2008 03:11:00
Welcome to JavaRanch
I think you are supposed to use space to activate a highlighted button like that.
I agree. Here's the link:
subject: How to use tab key and hot-keys in JFileChooser dialog?
problem with JDialog
How do I make save and saveAs
Problem when using JFileChooser in JApplet
Weird WinXP problem with JFileChooser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014