This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41599
    
  55
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Right Click Inside FilePane of JFileChooser