fixed payoutDialog crash
This commit is contained in:
parent
46c9c03f95
commit
1448745441
|
@ -226,8 +226,13 @@ class PayOutDialog extends JDialog implements MessageAwareDialog {
|
||||||
inputMap.put(stroke, "ESCAPE");
|
inputMap.put(stroke, "ESCAPE");
|
||||||
rootPane.getActionMap().put("ESCAPE", actionListener);
|
rootPane.getActionMap().put("ESCAPE", actionListener);
|
||||||
|
|
||||||
this.setSize(500, 255);
|
SwingUtilities.invokeLater(new Runnable() {
|
||||||
this.setVisible(true);
|
public void run() {
|
||||||
|
setSize(500, 255);
|
||||||
|
setVisible(true);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
return rootPane;
|
return rootPane;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue