Elipse button in an editable cell

Hey Everyone,

I have a column where i want the cells to be clickable to edit in cell but also render an elipse button at the end of the cell so that if they click the button i pop up a JTextArea.

Has anyone seen/created this type of behavior in a cell? If so please point me in the right direction. :)

I can handle double clicks in a table, i can handle action events on buttons. but dont know where to start on getting the button into a cell as well as keeping a normal single click edit behavior.

any suggestions appreciated.

//****

Okay, found something that might be helpful to me, but now i need to know if anyone knows how to use any of the eclipse widgets.

i found a class in the VE for Eclipse that does what i want. my base class would be org.eclipse.jface.viewers.DialogCellEditor. i just dont want to dl the VE to get the jar.

i havent been able to find where to dl the jar...?....

//****

~txjump

Message was edited by:

txjump

[1019 byte] By [txjumpa] at [2007-11-27 11:08:40]
# 1

ugh...after much research i found that i cant use the above mentioned class. it uses classes in eclipses swt. in order to use the swt i would have to deploy os specific packages because the swt uses native code. not an option.

but, it is a perfect example of what i want. so if anyone has any experience with this i would still love some imput.

thanks!

:)

txjumpa at 2007-7-29 13:30:24 > top of Java-index,Desktop,Core GUI APIs...