Fromatting and comments
This commit is contained in:
parent
5fc03b94a3
commit
7f6f511710
@ -74,12 +74,11 @@ public class SeSimApplication extends javax.swing.JFrame {
|
|||||||
Window w = d.getFullScreenWindow();
|
Window w = d.getFullScreenWindow();
|
||||||
setLocationRelativeTo(w);
|
setLocationRelativeTo(w);
|
||||||
|
|
||||||
|
|
||||||
// Set Application title (no file is currently opened)
|
// Set Application title (no file is currently opened)
|
||||||
setTitleWithFileName("");
|
setTitleWithFileName("");
|
||||||
|
|
||||||
// check if we are runing the very first time,
|
// check if we are runing the very first time,
|
||||||
// and if: Load a default configuration from our resources
|
// and if so: Load a default configuration from our resources
|
||||||
boolean init = Globals.prefs.getBoolean("initilized", false);
|
boolean init = Globals.prefs.getBoolean("initilized", false);
|
||||||
if (!init) {
|
if (!init) {
|
||||||
resetToDefaults();
|
resetToDefaults();
|
||||||
@ -88,7 +87,6 @@ public class SeSimApplication extends javax.swing.JFrame {
|
|||||||
|
|
||||||
this.chartSrollPane.setVerticalScrollBarPolicy(VERTICAL_SCROLLBAR_NEVER);
|
this.chartSrollPane.setVerticalScrollBarPolicy(VERTICAL_SCROLLBAR_NEVER);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AutoTraderInterface createTrader(Exchange se, long id, String name, double money, double shares, JSONObject cfg) {
|
AutoTraderInterface createTrader(Exchange se, long id, String name, double money, double shares, JSONObject cfg) {
|
||||||
@ -685,7 +683,6 @@ public class SeSimApplication extends javax.swing.JFrame {
|
|||||||
return fc;
|
return fc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public final void setTitleWithFileName(String filename) {
|
public final void setTitleWithFileName(String filename) {
|
||||||
String name;
|
String name;
|
||||||
name = Globals.SESIM_APPTITLE;
|
name = Globals.SESIM_APPTITLE;
|
||||||
@ -930,7 +927,6 @@ public class SeSimApplication extends javax.swing.JFrame {
|
|||||||
.getPath()).toString(); //.getName();
|
.getPath()).toString(); //.getName();
|
||||||
*/
|
*/
|
||||||
// System.out.printf("Creating Application\n");
|
// System.out.printf("Creating Application\n");
|
||||||
|
|
||||||
new SeSimApplication().setVisible(true);
|
new SeSimApplication().setVisible(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user