File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
JPopupMenu or JMenu - neither is quite what I'm after.
disable popup menu of JOptionPane
swing editing JTree nodes
How to display Right-click popup menu in JPanel?
Right-Click on JMenuItem