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