Hi all,

 

Need help with the following:

I have a JTable with a TableModel, and I’d like to be able to make a cell editable, when the user selects “Edit” from a popup menu.

So the following has to happen:

User selects cell

User right clicks to bring up popup menu

User selects Edit from popup menu

 

I’ve written the code for the Popup menu etc.

 

I can’t seem to programmatically make the cell editable, so that the user can change the value in the cell.

 

Any ideas?

 

PS! I have looked at the Swing Tutorial, as a first point of reference.

 

Regards,

 

Enrico Goosen

Software Developer

SAICOM TECHNOLOGY

TEL:       +2721 555 0726

FAX:     +2721 555 0821

CEL:     +2783 305 5676

EMAIL: [EMAIL PROTECTED]

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
-~----------~----~----~----~------~----~------~--~---

Reply via email to