I am using a table which has a button that implements
CellEditor.  I want a single click in the table to
make the button do its thing so I have
isCellEditable() returning true if the event is a
mouse event with a click count == 1.  In the
getCellEditor() I call the button's doClick() in an
invokeLater() thread.  If I don't call the doClick()
then I have to click again, and if I don't do it in an
invokeLater() then then menu does not display
(presumably because the table hasn't given my
component some real estate).   The problem is that the
1st popup menu item is immediatly selected if the menu
pops up under the mouse pointer.  I have tried
consuming the event in the isCellEditable() as well as
disabling event listening and neither have worked. 
Any suggestions would be appreciated.
Oh yeah: Win9x, JDK 1.3.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to