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

@ -1,4 +1,4 @@
#Sat, 08 Apr 2017 07:10:15 +0200
#Sat, 08 Apr 2017 08:35:31 +0200
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=
@ -71,7 +71,7 @@ jnlp.signed=true
jnlp.signing=key
jnlp.signing.alias=SeSim
jnlp.signing.keystore=/home/tube/jkeystore
main.class=gui.NewMDIApplication
main.class=gui.SeSimApplication
# Optional override of default Application-Library-Allowable-Codebase attribute identifying the locations where your signed RIA is expected to be found.
manifest.custom.application.library.allowable.codebase=
# Optional override of default Caller-Allowable-Codebase attribute identifying the domains from which JavaScript code can make calls to your RIA without security prompts.

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);
}
});
}