dcsimg
Event in JTable
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   johan_ruttens
Posted On:   Friday, June 21, 2002 01:50 AM

Hello,

This is my problem: I have created a JTable and if I press F4 in a certain cell, another list pops up, this works fine if the cell isn 't being edited, but if it is (so when the cursor is active in the cell), pressing F4 doesn't cause an event anymore.

Anyone who knows a solution?

Thanks in advance.

Re: Event in JTable

Posted By:   George_Tzallas  
Posted On:   Wednesday, July 3, 2002 03:24 AM

Did you try to add a keymap to the text field that is used as the table cell editor? This will map F4
to an action that will trigger the popup window


Check JTextComponent
and KeyMap
They will probably give you a good start


Regards


George T

About | Sitemap | Contact