forked from External/mage
Added a game end dialog, that shows the result of the finished game.
This commit is contained in:
parent
19726268ff
commit
ae44981cfa
19 changed files with 922 additions and 4 deletions
|
|
@ -40,6 +40,7 @@ import javax.swing.*;
|
|||
import java.awt.*;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import mage.client.MageFrame;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -157,6 +158,11 @@ public class MageDialog extends javax.swing.JInternalFrame {
|
|||
this.setVisible(false);
|
||||
}
|
||||
|
||||
public void removeDialog() {
|
||||
this.setVisible(false);
|
||||
MageFrame.getDesktop().remove(this);
|
||||
}
|
||||
|
||||
public void setTitelBarToolTip(final String text) {
|
||||
desktopIcon.setToolTipText(text); //tooltip on icon
|
||||
Component[] children = desktopIcon.getComponents();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue