Removed 'Logs' tab.

This commit is contained in:
dev
2011-07-31 08:21:28 +00:00
parent ddc3518c72
commit c3b61418d2
3 changed files with 26 additions and 25 deletions

View File

@ -99,7 +99,7 @@ public class Main {
// Popup Main window. // Popup Main window.
WindowHandler.toggleFrames(); WindowHandler.toggleFrames();
//testStuff(); // Delete Me testStuff(); // Delete Me
} }
@SuppressWarnings("static-access") @SuppressWarnings("static-access")
@ -266,9 +266,8 @@ public class Main {
} catch (InvalidParametersException e) { } catch (InvalidParametersException e) {
System.out.println("Bad parameters sent.."); System.out.println("Bad parameters sent..");
} }
*/ */
// Test reading all router info // Test reading all router info
System.out.println("\nGetRouterInfo"); System.out.println("\nGetRouterInfo");
try { try {
@ -285,6 +284,7 @@ public class Main {
e.printStackTrace(); e.printStackTrace();
} }
// Test restart - worked at one point :) Possibly now as well. // Test restart - worked at one point :) Possibly now as well.
/* /*
System.out.println("\nSetRouterRunner: Restart"); System.out.println("\nSetRouterRunner: Restart");

View File

@ -214,6 +214,9 @@ public class ConfigurationTab extends TabLogoPanel {
} }
private void populateSettings(){ private void populateSettings(){
SwingUtilities.invokeLater(new Runnable(){
@Override
public void run(){
try { try {
EnumMap<NETWORK_SETTING, Object> em = GetNetworkSetting.execute(NETWORK_SETTING.TCP_PORT, NETWORK_SETTING.UDP_PORT, EnumMap<NETWORK_SETTING, Object> em = GetNetworkSetting.execute(NETWORK_SETTING.TCP_PORT, NETWORK_SETTING.UDP_PORT,
NETWORK_SETTING.UPNP, NETWORK_SETTING.BW_IN, NETWORK_SETTING.BW_OUT, NETWORK_SETTING.BW_SHARE); NETWORK_SETTING.UPNP, NETWORK_SETTING.BW_IN, NETWORK_SETTING.BW_OUT, NETWORK_SETTING.BW_SHARE);
@ -233,6 +236,8 @@ public class ConfigurationTab extends TabLogoPanel {
StatusHandler.setDefaultStatus(DEFAULT_STATUS.NOT_CONNECTED); StatusHandler.setDefaultStatus(DEFAULT_STATUS.NOT_CONNECTED);
} }
} }
});
}
/** /**
* Launch the application. * Launch the application.

View File

@ -92,10 +92,6 @@ public class Main {
tabbedPane.addChangeListener(new TabChangeListener(configTab)); tabbedPane.addChangeListener(new TabChangeListener(configTab));
JPanel logPanel = new LogoPanel("itoopie-opaque12");
tabbedPane.addTab(Transl._("Logs"), null, logPanel, null);
TabLogoPanel aboutTab = new AboutTab("itoopie-opaque12"); TabLogoPanel aboutTab = new AboutTab("itoopie-opaque12");
tabbedPane.addTab(Transl._("About"), null, aboutTab, null); tabbedPane.addTab(Transl._("About"), null, aboutTab, null);