posted 18 years ago
My problem is , i have TabbedPane in that have 3 panel, i want to select those pane with keys, no through mouse, how to do that,
vat i have done is
if(evt.getKeyCode()==evt.VK_1){
jPanel2.setFocusable(true);
}
if(evt.getKeyCode()==evt.VK_2){
jPanel3.setFocusable(true);
}
if(evt.getKeyCode()==evt.VK_3){
jPanel4.setFocusable(true);
}
this is not working, how to do that plz hepl me
kalai