mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-06 08:39:33 +00:00
Revert apple icon, cannot compile on windows.
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
package org.parabot.core.ui;
|
package org.parabot.core.ui;
|
||||||
|
|
||||||
import com.apple.eawt.Application;
|
|
||||||
import org.parabot.core.Context;
|
import org.parabot.core.Context;
|
||||||
import org.parabot.core.ui.components.GamePanel;
|
import org.parabot.core.ui.components.GamePanel;
|
||||||
import org.parabot.core.ui.images.Images;
|
import org.parabot.core.ui.images.Images;
|
||||||
@@ -47,7 +46,6 @@ public class BotUI extends JFrame implements ActionListener, ComponentListener,
|
|||||||
this.setLayout(new BorderLayout());
|
this.setLayout(new BorderLayout());
|
||||||
this.addComponentListener(this);
|
this.addComponentListener(this);
|
||||||
this.addWindowListener(this);
|
this.addWindowListener(this);
|
||||||
Application.getApplication().setDockIconImage(Images.getResource("/org/parabot/core/ui/images/icon.png"));
|
|
||||||
|
|
||||||
JMenuBar menuBar = new JMenuBar();
|
JMenuBar menuBar = new JMenuBar();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package org.parabot.core.ui;
|
package org.parabot.core.ui;
|
||||||
|
|
||||||
import com.apple.eawt.Application;
|
|
||||||
import org.parabot.core.Core;
|
import org.parabot.core.Core;
|
||||||
import org.parabot.core.forum.AccountManager;
|
import org.parabot.core.forum.AccountManager;
|
||||||
import org.parabot.core.forum.AccountManagerAccess;
|
import org.parabot.core.forum.AccountManagerAccess;
|
||||||
@@ -82,7 +81,6 @@ public class LoginUI extends JFrame {
|
|||||||
this.setResizable(false);
|
this.setResizable(false);
|
||||||
this.setIconImage(Images
|
this.setIconImage(Images
|
||||||
.getResource("/org/parabot/core/ui/images/icon.png"));
|
.getResource("/org/parabot/core/ui/images/icon.png"));
|
||||||
Application.getApplication().setDockIconImage(Images.getResource("/org/parabot/core/ui/images/icon.png"));
|
|
||||||
|
|
||||||
int w = 250;
|
int w = 250;
|
||||||
int x = 8;
|
int x = 8;
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package org.parabot.core.ui;
|
package org.parabot.core.ui;
|
||||||
|
|
||||||
import com.apple.eawt.Application;
|
|
||||||
import org.parabot.core.desc.ServerDescription;
|
import org.parabot.core.desc.ServerDescription;
|
||||||
import org.parabot.core.parsers.servers.ServerParser;
|
import org.parabot.core.parsers.servers.ServerParser;
|
||||||
import org.parabot.core.ui.images.Images;
|
import org.parabot.core.ui.images.Images;
|
||||||
@@ -49,7 +48,6 @@ public class ServerSelector extends JFrame {
|
|||||||
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||||
this.setResizable(false);
|
this.setResizable(false);
|
||||||
this.setIconImage(Images.getResource("/org/parabot/core/ui/images/icon.png"));
|
this.setIconImage(Images.getResource("/org/parabot/core/ui/images/icon.png"));
|
||||||
Application.getApplication().setDockIconImage(Images.getResource("/org/parabot/core/ui/images/icon.png"));
|
|
||||||
|
|
||||||
this.panel = new JPanel(new BorderLayout());
|
this.panel = new JPanel(new BorderLayout());
|
||||||
this.panel.setPreferredSize(new Dimension(600, 400));
|
this.panel.setPreferredSize(new Dimension(600, 400));
|
||||||
|
|||||||
Reference in New Issue
Block a user