jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes JFileChooser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFileChooser" Watch "JFileChooser" New topic
Author

JFileChooser

Piyush Walia
Greenhorn

Joined: Apr 16, 2004
Posts: 8
How can i add popup menu is the Files of JFileChooser.
e.g. When I right clicks on the file in JFileChooser a menu should be displayed.
Currently,I am adding a mouse listener to JFileChooser.So when I right click in JFileChooser body(eg Button) Popup Menu gets displayed,this does not happens when i Click on the Files.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JFileChooser
 
Similar Threads
Right-Click on JMenuItem
disable popup menu of JOptionPane
swing editing JTree nodes
JPopupMenu or JMenu - neither is quite what I'm after.
How to display Right-click popup menu in JPanel?