drobne opravy
parent
ed24bddcc7
commit
635f301b1d
|
|
@ -1,7 +1,7 @@
|
|||
autoconnect = true
|
||||
debug = true
|
||||
port = 1225
|
||||
server = 10.5.5.49
|
||||
server = localhost
|
||||
user = michal
|
||||
volume = 75
|
||||
start_minimalized = false
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
package jnet.client.gui;
|
||||
|
||||
import jnet.client.gui.serversettings.ServerSettingsPanel;
|
||||
import jnet.client.gui.dialog.LoginDialog;
|
||||
import jnet.client.network.NettyClient;
|
||||
import java.awt.Dimension;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
package jnet.client.gui;
|
||||
|
||||
import jnet.client.gui.serversettings.ServerSettingsPanel;
|
||||
import jnet.client.gui.mapview.MapView;
|
||||
import jnet.client.Client;
|
||||
import java.awt.BorderLayout;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package jnet.client.gui.dialog;
|
||||
|
||||
import jnet.client.gui.ServerSettingsPanel;
|
||||
import jnet.client.gui.serversettings.ServerSettingsPanel;
|
||||
import jnet.client.gui.Window;
|
||||
import jnet.client.network.NettyClient;
|
||||
import java.awt.Color;
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@ public class OnlineClientsDialog extends JDialog {
|
|||
JLabel line = new JLabel(" " + oc.getUsername() + " (" + oc.getIp() + ")");
|
||||
switch (oc.getPlatform()) {
|
||||
case OnlineClients.PLATFORM_MOBILE:
|
||||
line.setIcon(new ImageIcon(ImageIO.read(new File("img/platform_android.png"))));
|
||||
line.setIcon(new ImageIcon(ImageIO.read(getClass().getResourceAsStream("/img/platform_android.png"))));
|
||||
break;
|
||||
case OnlineClients.PLATFORM_PC:
|
||||
line.setIcon(new ImageIcon(ImageIO.read(new File("img/platform_pc.png"))));
|
||||
line.setIcon(new ImageIcon(ImageIO.read(getClass().getResourceAsStream("/img/platform_pc.png"))));
|
||||
break;
|
||||
}
|
||||
panel.add(line);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package jnet.client.gui.dialog;
|
||||
|
||||
import jnet.client.gui.ServerSettingsPanel;
|
||||
import jnet.client.gui.serversettings.ServerSettingsPanel;
|
||||
import jnet.client.gui.Window;
|
||||
import jnet.client.network.NettyClient;
|
||||
import java.awt.event.ActionEvent;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package jnet.client.gui;
|
||||
package jnet.client.gui.serversettings;
|
||||
|
||||
import jnet.client.Client;
|
||||
import jnet.client.gui.dialog.AddDeviceTypeDialog;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package jnet.client.gui;
|
||||
package jnet.client.gui.serversettings;
|
||||
|
||||
import jnet.client.Client;
|
||||
import java.io.ByteArrayInputStream;
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
package jnet.client.gui;
|
||||
package jnet.client.gui.serversettings;
|
||||
|
||||
import jnet.client.gui.serversettings.TableDeviceType;
|
||||
import jnet.client.Client;
|
||||
import jnet.client.gui.dialog.UserDialog;
|
||||
import java.awt.Component;
|
||||
|
|
@ -83,8 +84,8 @@ public class TableUsers extends JTable {
|
|||
for (User u : Client.users) {
|
||||
try {
|
||||
|
||||
ImageIcon ii_yes = new ImageIcon(ImageIO.read(getClass().getResourceAsStream("img/yes.png")));
|
||||
ImageIcon ii_no = new ImageIcon(ImageIO.read(getClass().getResourceAsStream("img/no.png")));
|
||||
ImageIcon ii_yes = new ImageIcon(ImageIO.read(getClass().getResourceAsStream("/img/yes.png")));
|
||||
ImageIcon ii_no = new ImageIcon(ImageIO.read(getClass().getResourceAsStream("/img/no.png")));
|
||||
|
||||
this.setValueAt(u.getId(), row, 0);
|
||||
this.setValueAt(u.getUsername(), row, 1);
|
||||
Loading…
Reference in New Issue