i written a Jtable within a JDialog.Using keymapping i register few keys.the problem is once i launch the application the focus is on JTable not in Jdilog .so while i press key the evnts are associted with table not with dialog.
how to change the focus to dialog from table. i always want the focus is on dialog.
posted 9 years ago
Few explanations towards problem
Here the event is consumed by table. so we have to redirect the evnts to dialog. There is one possiblity using KeyEventDispatch interface provides option of redirect the event.
but i want to make use of "registerKeyboardAction" how to do pls help me.