This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 this week in the OCAJP 8 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: 42958
    
  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?
 
jQuery in Action, 3rd edition
 
subject: Right Click Inside FilePane of JFileChooser
 
It's not a secret anymore!