Browse Source

fix

persist/11.0
Hades 4 years ago
parent
commit
e3d99c5f77
  1. 10
      designer-base/src/main/java/com/fr/design/dialog/TipDialog.java

10
designer-base/src/main/java/com/fr/design/dialog/TipDialog.java

@ -22,7 +22,7 @@ import java.awt.event.ActionListener;
* @version 10.0 * @version 10.0
* Created by hades on 2020/1/8 * Created by hades on 2020/1/8
*/ */
public class TipDialog extends JDialog implements ActionListener { public abstract class TipDialog extends JDialog implements ActionListener {
private UIButton endButton; private UIButton endButton;
private UIButton cancelButton; private UIButton cancelButton;
@ -80,13 +80,9 @@ public class TipDialog extends JDialog implements ActionListener {
} }
protected void endEvent() { protected abstract void endEvent();
// do nothing
}
protected void cancelEvent() { protected abstract void cancelEvent();
// do nothing
}
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {

Loading…
Cancel
Save