Renamed main class to SeSimApplication

This commit is contained in:
7u83
2017-04-08 09:28:11 +02:00
parent 1dfc869060
commit 6b53f931bc
5 changed files with 8 additions and 8 deletions

View File

@ -75,7 +75,7 @@ public final class EditStrategies extends javax.swing.JDialog {
initComponents();
String dp = new java.io.File(NewMDIApplication.class.getProtectionDomain()
String dp = new java.io.File(SeSimApplication.class.getProtectionDomain()
.getCodeSource()
.getLocation()
.getPath()).toString();

View File

@ -121,7 +121,7 @@ public class Globals {
System.out.printf("Init tloader\n");
pathlist = new ArrayList<>();
String dp = new java.io.File(NewMDIApplication.class.getProtectionDomain()
String dp = new java.io.File(SeSimApplication.class.getProtectionDomain()
.getCodeSource()
.getLocation()
.getPath()).toString();

View File

@ -58,12 +58,12 @@ import traders.RandomTraderConfig;
*
* @author 7u83 <7u83@mail.ru>
*/
public class NewMDIApplication extends javax.swing.JFrame {
public class SeSimApplication extends javax.swing.JFrame {
/**
* Creates new form NewMDIApplication
*/
public NewMDIApplication() {
public SeSimApplication() {
initComponents();
this.chartSrollPane.setVerticalScrollBarPolicy(VERTICAL_SCROLLBAR_NEVER);
this.setLocationRelativeTo(null);
@ -739,13 +739,13 @@ javax.swing.SwingUtilities.invokeLater(()->{
public void run() {
System.out.printf("In run method now\n");
String x = new java.io.File(NewMDIApplication.class.getProtectionDomain()
String x = new java.io.File(SeSimApplication.class.getProtectionDomain()
.getCodeSource()
.getLocation()
.getPath()).toString(); //.getName();
System.out.printf("Creating Application\n");
new NewMDIApplication().setVisible(true);
new SeSimApplication().setVisible(true);
}
});
}