aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Right Click Inside FilePane of JFileChooser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Right Click Inside FilePane of JFileChooser" Watch "Right Click Inside FilePane of JFileChooser" New topic
Author

Right Click Inside FilePane of JFileChooser

Jiju Jacob
Greenhorn

Joined: Jul 12, 2005
Posts: 5
I have to implement a popup menu which pops up on the mouse right click to rename a Folder inside a JFileChooser File Pane.

I am kind of not able to get the FilePane at all. I tried overriding some of the methods in MetalFileChooserUI, but to no avail. THe JDK version is 1.5

Any help in this regard is greatly appreciated.

Thanks,
Jiju
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
I am kind of not able to get the FilePane at all.

I don't understand what this means; to which object did you attach the listener? Is the listener actually being called?
 
 
subject: Right Click Inside FilePane of JFileChooser