Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
vo hien duc
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48642
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch

I think you are supposed to use space to activate a highlighted button like that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic