Hi Kalam, You have to add a KeyListener to your applicacion ( if the keys work all the time ) or to the JTabbedPane ( if the keys only work when the tabbedPane has focus). Once you do that the component is listening for the KeyEvent ( all keys - including tab fire events ) Here's some (untested) sample code;
Raising Flares debut album 'Ignition' out now
Terry Doyle <br />SCPJ 1.4 , SCWCD , SCMAD(Beta)
Joined: Feb 04, 2002
thanks for reply, but if focus on tabben pane then only it fires keyevent. i want to show next tab on click of control+tab from any of the fields in the form. where to register key event and how to do this?
subject: on Control+tab how to show next tab in tabbedpane