This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
Marshal

Joined: Mar 22, 2005
Posts: 41125
    
  45
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?


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Right Click Inside FilePane of JFileChooser
 
Similar Threads
How to deal with a JFileChooser
JFileChooser
JFileChooser showing twice
Difficulties with JFileChooser
Disabling right click option for JFileChooser Dialog