[UI] Tray menu. Blinking on new players added to table. Added window restore on double-click.

This commit is contained in:
magenoxx 2012-07-16 20:23:56 +04:00
parent 9214051279
commit 872ced4344
5 changed files with 213 additions and 14 deletions

View file

@ -107,6 +107,10 @@ public class MageDialog extends javax.swing.JInternalFrame {
Object source = event.getSource();
boolean dispatch = true;
if (event.getSource() != null && event.getSource() instanceof TrayIcon) {
return;
}
if (event instanceof MouseEvent && event.getSource() instanceof Component) {
MouseEvent e = (MouseEvent) event;
MouseEvent m = SwingUtilities.convertMouseEvent((Component) e.getSource(), e, this);