This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: right click with Jlist
 
It's not a secret anymore!