1

I'm writing a simple Java application that uses JFileChooser. However when interacting with the JFileChooser Panel, I want every time I right click on a file, it should trigger the context menu we often see in Windows, with buttons "Select", "Open", "Open in a new window" etc. Do I need some APIs to invoke this Windows function?

  • My gut says this is impossible. The JFileChooser is a pretty opaque widget that can differ wildly between Look-and-Feels. – millimoose Jan 08 '12 at 21:17
  • the accepted answer in the following post might be just what you need. http://stackoverflow.com/questions/759376/alternative-to-jfilechooser –  Jan 08 '12 at 22:52

0 Answers0