Hi all,
I'm trying to use the registerKeyboardAction methos, but an error
occours. This is the source code that I wrote like the example in the
UCL manual:
IActionListener al = new IActionListener() {
public void actionPerformed(ActionEvent e)
{
System.out.print("Keypress - F2\n");
}
};
ULCButton btnAdd = new ULCButton();
btnAdd.registerKeyboardAction(al, KeyStroke.getKeyStroke(KeyEvent.
VK_F2, 0, true), ULCComponent.WHEN_FOCUSED);
and this is the error:
The method registerKeyboardAction(IActionListener, KeyStroke, int) in
the type ULCComponent is not applicable for the arguments
(IActionListener, KeyStroke, int)
Naviga e telefona senza limiti con Tiscali
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom
http://abbonati.tiscali.it/adsl/
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer