@Override @SuppressWarnings("deprecation") public void actionPerformed(ActionEvent actionEvent) { xwin.postEvent( new ActionEvent( xwin.target, ActionEvent.ACTION_PERFORMED, getText(), actionEvent.getWhen(), actionEvent.getModifiers())); }
@Override public void changedUpdate(DocumentEvent e) { if (xwin != null) { xwin.postEvent(new TextEvent(xwin.target, TextEvent.TEXT_VALUE_CHANGED)); } }