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

View File

@ -214,6 +214,9 @@ public class ConfigurationTab extends TabLogoPanel {
}
private void populateSettings(){
SwingUtilities.invokeLater(new Runnable(){
@Override
public void run(){
try {
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);
@ -233,6 +236,8 @@ public class ConfigurationTab extends TabLogoPanel {
StatusHandler.setDefaultStatus(DEFAULT_STATUS.NOT_CONNECTED);
}
}
});
}
/**
* Launch the application.

View File

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