pl.addComponent(l);
TextField f = new TextField();
pl.addComponent(f);
p.addAction(new ShortcutListener("F8", KeyCode.F8, null) {
@Override
public void handleAction(Object sender, Object target) {
mainWindow.showNotification(getCaption());
}
});
p.addAction(new ShortcutListener("a", KeyCode.A, null) {
@Override
public void handleAction(Object sender, Object target) {
mainWindow.showNotification(getCaption());