aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes right click with Jlist  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "right click with Jlist  " Watch "right click with Jlist  " New topic
Author

right click with Jlist

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
Hi guys,

I get the wrong ID with the code below.

The error accours when the user right click on the name on the JList.
(Basically, when the user right click the name he get a JTextArea with the associated ID)

anyone?


Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
Just to be more precise, here is my complete code:

James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

Peter,

I have answered this question in the SUN forums but nobody just reading this post will know that. By cross posting you could cause someone to waste time solving a problem for you that has already been solved.

Sabre


Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
thank you James. I saw your answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: right click with Jlist