|
|
55b18ca |
--- dl_class_1.9/java/DataArchiver.java 2012-04-23 11:43:54.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/DataArchiver.java 2012-04-20 10:17:59.000000000 +0100
|
|
|
55b18ca |
@@ -18,7 +18,7 @@
|
|
|
55b18ca |
public static DataArchiver job;
|
|
|
55b18ca |
private static JButton select,store,fetch,info,close;
|
|
|
55b18ca |
private static JTextField dirold,dirnew;
|
|
|
55b18ca |
- private static JComboBox<String> test;
|
|
|
55b18ca |
+ private static JComboBox test;
|
|
|
55b18ca |
private static String dname="DEFAULT";
|
|
|
55b18ca |
private static WarningBox danger;
|
|
|
55b18ca |
|
|
|
55b18ca |
@@ -62,7 +62,7 @@
|
|
|
55b18ca |
|
|
|
55b18ca |
// Test case choice
|
|
|
55b18ca |
|
|
|
55b18ca |
- test = new JComboBox<String>();
|
|
|
55b18ca |
+ test = new JComboBox();
|
|
|
55b18ca |
test.setBackground(art.scrn);
|
|
|
55b18ca |
test.setForeground(art.scrf);
|
|
|
55b18ca |
test.addItem("TEST1");
|
|
|
55b18ca |
Binary files dl_class_1.9/java/GUI.jar and dl_class_1.9.old/java/GUI.jar differ
|
|
|
55b18ca |
--- dl_class_1.9/java/HyperDyn.java 2012-04-11 14:10:18.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/HyperDyn.java 2012-04-10 14:54:38.000000000 +0100
|
|
|
55b18ca |
@@ -19,7 +19,7 @@
|
|
|
55b18ca |
private static JTextField tebias,tvmin,target,block,black,tdelt;
|
|
|
55b18ca |
private static JTextField ttlow,track,tcatch,spring,opttol,nnebs;
|
|
|
55b18ca |
private static JTextField basin1,basin2;
|
|
|
55b18ca |
- private static JComboBox<String> hypopt,tunits,optkey;
|
|
|
55b18ca |
+ private static JComboBox hypopt,tunits,optkey;
|
|
|
55b18ca |
private static JCheckBox tgoneb,tpath;
|
|
|
55b18ca |
private static JButton close;
|
|
|
55b18ca |
|
|
|
55b18ca |
@@ -58,7 +58,7 @@
|
|
|
55b18ca |
// Hyperdynamics options
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Hyperdynamics options:",JLabel.LEFT),grd,gbc,0,n,2,1);
|
|
|
55b18ca |
- hypopt = new JComboBox<String>();
|
|
|
55b18ca |
+ hypopt = new JComboBox();
|
|
|
55b18ca |
hypopt.setForeground(art.scrf);
|
|
|
55b18ca |
hypopt.setBackground(art.scrn);
|
|
|
55b18ca |
hypopt.addItem("BPD");
|
|
|
55b18ca |
@@ -72,7 +72,7 @@
|
|
|
55b18ca |
// Energy units
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Energy Units:",JLabel.LEFT),grd,gbc,0,n,2,1);
|
|
|
55b18ca |
- tunits = new JComboBox<String>();
|
|
|
55b18ca |
+ tunits = new JComboBox();
|
|
|
55b18ca |
tunits.setForeground(art.scrf);
|
|
|
55b18ca |
tunits.setBackground(art.scrn);
|
|
|
55b18ca |
tunits.addItem("DL_POLY");
|
|
|
55b18ca |
@@ -93,7 +93,7 @@
|
|
|
55b18ca |
// Minimisation control option
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Minimise Option:",JLabel.LEFT),grd,gbc,0,n,2,1);
|
|
|
55b18ca |
- optkey = new JComboBox<String>();
|
|
|
55b18ca |
+ optkey = new JComboBox();
|
|
|
55b18ca |
optkey.setForeground(art.scrf);
|
|
|
55b18ca |
optkey.setBackground(art.scrn);
|
|
|
55b18ca |
optkey.addItem("Force");
|
|
|
55b18ca |
--- dl_class_1.9/java/MakeCeramField.java 2012-04-11 14:10:18.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/MakeCeramField.java 2012-04-10 14:50:57.000000000 +0100
|
|
|
55b18ca |
@@ -17,7 +17,7 @@
|
|
|
55b18ca |
public static MakeCeramField job;
|
|
|
55b18ca |
private static GUI home;
|
|
|
55b18ca |
private static String ffield;
|
|
|
55b18ca |
- private static JComboBox<String> cpot;
|
|
|
55b18ca |
+ private static JComboBox cpot;
|
|
|
55b18ca |
private static JButton make,load,close;
|
|
|
55b18ca |
private static JCheckBox display,tetra;
|
|
|
55b18ca |
private static JLabel lab1,pad;
|
|
|
55b18ca |
@@ -72,7 +72,7 @@
|
|
|
55b18ca |
|
|
|
55b18ca |
lab1 = new JLabel("Force field :",JLabel.LEFT);
|
|
|
55b18ca |
fix(lab1,grd,gbc,0,2,1,1);
|
|
|
55b18ca |
- cpot = new JComboBox<String>();
|
|
|
55b18ca |
+ cpot = new JComboBox();
|
|
|
55b18ca |
cpot.setBackground(art.scrn);
|
|
|
55b18ca |
cpot.setForeground(art.scrf);
|
|
|
55b18ca |
cpot.addItem("LC_a");
|
|
|
55b18ca |
--- dl_class_1.9/java/MakeChain.java 2012-04-11 14:10:18.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/MakeChain.java 2012-04-10 14:50:57.000000000 +0100
|
|
|
55b18ca |
@@ -22,7 +22,7 @@
|
|
|
55b18ca |
private static JLabel lab1,lab2,lab3,lab4,lab5,pass;
|
|
|
55b18ca |
private static JTextField nc,area,eon,gapz;
|
|
|
55b18ca |
private static JCheckBox chk1,chk2;
|
|
|
55b18ca |
- private static JComboBox<String> head;
|
|
|
55b18ca |
+ private static JComboBox head;
|
|
|
55b18ca |
private static boolean flip,twin;
|
|
|
55b18ca |
private static String headgroup;
|
|
|
55b18ca |
private static int keyhed,ncarbons,nethos;
|
|
|
55b18ca |
@@ -108,7 +108,7 @@
|
|
|
55b18ca |
|
|
|
55b18ca |
// Head group choice
|
|
|
55b18ca |
|
|
|
55b18ca |
- head = new JComboBox<String>();
|
|
|
55b18ca |
+ head = new JComboBox();
|
|
|
55b18ca |
head.setBackground(art.scrn);
|
|
|
55b18ca |
head.setForeground(art.scrf);
|
|
|
55b18ca |
head.addItem("None");
|
|
|
55b18ca |
--- dl_class_1.9/java/MakeDreiField.java 2012-04-11 14:10:19.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/MakeDreiField.java 2012-04-10 14:50:57.000000000 +0100
|
|
|
55b18ca |
@@ -16,7 +16,7 @@
|
|
|
55b18ca |
*/
|
|
|
55b18ca |
public static MakeDreiField job;
|
|
|
55b18ca |
private static GUI home;
|
|
|
55b18ca |
- private static JComboBox<String> bond,vdwt;
|
|
|
55b18ca |
+ private static JComboBox bond,vdwt;
|
|
|
55b18ca |
private static JButton make,load,close;
|
|
|
55b18ca |
private static JCheckBox charges;
|
|
|
55b18ca |
private static JLabel lab1,lab2,pad1,pad2,pad3;
|
|
|
55b18ca |
@@ -79,7 +79,7 @@
|
|
|
55b18ca |
|
|
|
55b18ca |
lab1 = new JLabel("Bond type :",JLabel.LEFT);
|
|
|
55b18ca |
fix(lab1,grd,gbc,0,2,1,1);
|
|
|
55b18ca |
- bond = new JComboBox<String>();
|
|
|
55b18ca |
+ bond = new JComboBox();
|
|
|
55b18ca |
bond.setBackground(art.scrn);
|
|
|
55b18ca |
bond.setForeground(art.scrf);
|
|
|
55b18ca |
bond.addItem("Harmonic");
|
|
|
55b18ca |
@@ -91,7 +91,7 @@
|
|
|
55b18ca |
|
|
|
55b18ca |
lab2 = new JLabel("VDW type :",JLabel.LEFT);
|
|
|
55b18ca |
fix(lab2,grd,gbc,0,3,1,1);
|
|
|
55b18ca |
- vdwt = new JComboBox<String>();
|
|
|
55b18ca |
+ vdwt = new JComboBox();
|
|
|
55b18ca |
vdwt.setBackground(art.scrn);
|
|
|
55b18ca |
vdwt.setForeground(art.scrf);
|
|
|
55b18ca |
vdwt.addItem("Len-Jones");
|
|
|
55b18ca |
--- dl_class_1.9/java/MakeTable.java 2012-04-11 14:10:19.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/MakeTable.java 2012-04-10 14:50:57.000000000 +0100
|
|
|
55b18ca |
@@ -22,7 +22,7 @@
|
|
|
55b18ca |
static int npnts,numtab,ngrid,keytab,keyfit,mxpnts;
|
|
|
55b18ca |
static JTextField atom1,atom2,gridp,cutoff,xval,yval,points;
|
|
|
55b18ca |
static JButton make,load,close,enter,clear;
|
|
|
55b18ca |
- static JComboBox<String> units,fitopt,special;
|
|
|
55b18ca |
+ static JComboBox units,fitopt,special;
|
|
|
55b18ca |
static String[] header;
|
|
|
55b18ca |
|
|
|
55b18ca |
// Define the Graphical User Interface
|
|
|
55b18ca |
@@ -147,7 +147,7 @@
|
|
|
55b18ca |
|
|
|
55b18ca |
// Energy units required
|
|
|
55b18ca |
|
|
|
55b18ca |
- units = new JComboBox<String>();
|
|
|
55b18ca |
+ units = new JComboBox();
|
|
|
55b18ca |
units.setBackground(art.scrn);
|
|
|
55b18ca |
units.setForeground(art.scrf);
|
|
|
55b18ca |
units.addItem("DL_POLY");
|
|
|
55b18ca |
@@ -164,7 +164,7 @@
|
|
|
55b18ca |
|
|
|
55b18ca |
// Energy units required
|
|
|
55b18ca |
|
|
|
55b18ca |
- fitopt = new JComboBox<String>();
|
|
|
55b18ca |
+ fitopt = new JComboBox();
|
|
|
55b18ca |
fitopt.setBackground(art.scrn);
|
|
|
55b18ca |
fitopt.setForeground(art.scrf);
|
|
|
55b18ca |
fitopt.addItem("SPLINE");
|
|
|
55b18ca |
@@ -178,7 +178,7 @@
|
|
|
55b18ca |
|
|
|
55b18ca |
// Special potential functions
|
|
|
55b18ca |
|
|
|
55b18ca |
- special = new JComboBox<String>();
|
|
|
55b18ca |
+ special = new JComboBox();
|
|
|
55b18ca |
special.setBackground(art.scrn);
|
|
|
55b18ca |
special.setForeground(art.scrf);
|
|
|
55b18ca |
special.addItem("None");
|
|
|
55b18ca |
--- dl_class_1.9/java/ProVar.java 2012-04-11 14:10:20.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/ProVar.java 2012-04-10 14:54:38.000000000 +0100
|
|
|
55b18ca |
@@ -16,7 +16,7 @@
|
|
|
55b18ca |
*/
|
|
|
55b18ca |
private static MakeControl home;
|
|
|
55b18ca |
private static ProVar job;
|
|
|
55b18ca |
- private static JComboBox<String> restopt,algorithm;
|
|
|
55b18ca |
+ private static JComboBox restopt,algorithm;
|
|
|
55b18ca |
private static JTextField tnstrun,tnsteql,tmult,tnstbpo,tnstack,tintsta,tewltol,tshktol,tqtntol;
|
|
|
55b18ca |
private static JTextField tjobtim,ttclose;
|
|
|
55b18ca |
private static JButton close;
|
|
|
55b18ca |
@@ -55,7 +55,7 @@
|
|
|
55b18ca |
// Restart option
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Algorithm",JLabel.LEFT),grd,gbc,0,n,2,1);
|
|
|
55b18ca |
- algorithm = new JComboBox<String>();
|
|
|
55b18ca |
+ algorithm = new JComboBox();
|
|
|
55b18ca |
algorithm.setBackground(art.scrn);
|
|
|
55b18ca |
algorithm.setForeground(art.scrf);
|
|
|
55b18ca |
algorithm.addItem("Leapfrog Verlet");
|
|
|
55b18ca |
@@ -153,7 +153,7 @@
|
|
|
55b18ca |
// Restart option
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Restart option",JLabel.LEFT),grd,gbc,0,n,2,1);
|
|
|
55b18ca |
- restopt = new JComboBox<String>();
|
|
|
55b18ca |
+ restopt = new JComboBox();
|
|
|
55b18ca |
restopt.setBackground(art.scrn);
|
|
|
55b18ca |
restopt.setForeground(art.scrf);
|
|
|
55b18ca |
restopt.addItem("NONE");
|
|
|
55b18ca |
--- dl_class_1.9/java/RadDam.java 2012-04-11 14:10:20.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/RadDam.java 2012-04-10 14:54:38.000000000 +0100
|
|
|
55b18ca |
@@ -19,7 +19,7 @@
|
|
|
55b18ca |
private static JTextField tdstart,tdintval,tdefcut,tatom,timpstp,tenergy,tvect1;
|
|
|
55b18ca |
private static JTextField tvect2,tvect3,tvarstp,tmindis,tmaxdis,tnstmsdtmp;
|
|
|
55b18ca |
private static JTextField timsdtmp,tthick,tptemp;
|
|
|
55b18ca |
- private static JComboBox<String> pseudtyp;
|
|
|
55b18ca |
+ private static JComboBox pseudtyp;
|
|
|
55b18ca |
private static JButton close;
|
|
|
55b18ca |
private static JCheckBox bldefects,blvarstp,blmsdtmp,blpseudo;
|
|
|
55b18ca |
|
|
|
55b18ca |
@@ -158,7 +158,7 @@
|
|
|
55b18ca |
blpseudo.setForeground(art.fore);
|
|
|
55b18ca |
blpseudo.setBackground(art.back);
|
|
|
55b18ca |
fix(blpseudo,grd,gbc,0,n++,2,1);
|
|
|
55b18ca |
- pseudtyp = new JComboBox<String>();
|
|
|
55b18ca |
+ pseudtyp = new JComboBox();
|
|
|
55b18ca |
pseudtyp.setBackground(art.scrn);
|
|
|
55b18ca |
pseudtyp.setForeground(art.scrf);
|
|
|
55b18ca |
pseudtyp.addItem(" ");
|
|
|
55b18ca |
--- dl_class_1.9/java/Solvat.java 2012-04-11 14:10:20.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/Solvat.java 2012-04-10 14:54:38.000000000 +0100
|
|
|
55b18ca |
@@ -18,7 +18,7 @@
|
|
|
55b18ca |
private static JTextField tstart,tintvl,tlambda,tnonlin;
|
|
|
55b18ca |
private static JTextField systema,systemb,tswtch;
|
|
|
55b18ca |
private static JCheckBox remass;
|
|
|
55b18ca |
- private static JComboBox<String> solkey,mixkey;
|
|
|
55b18ca |
+ private static JComboBox solkey,mixkey;
|
|
|
55b18ca |
private static JButton close;
|
|
|
55b18ca |
|
|
|
55b18ca |
|
|
|
55b18ca |
@@ -56,7 +56,7 @@
|
|
|
55b18ca |
// Select solvation option
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Choose solvation option:",JLabel.LEFT),grd,gbc,0,n,2,1);
|
|
|
55b18ca |
- solkey = new JComboBox<String>();
|
|
|
55b18ca |
+ solkey = new JComboBox();
|
|
|
55b18ca |
solkey.setForeground(art.scrf);
|
|
|
55b18ca |
solkey.setBackground(art.scrn);
|
|
|
55b18ca |
solkey.addItem("Decompose");
|
|
|
55b18ca |
@@ -100,7 +100,7 @@
|
|
|
55b18ca |
// Mixing function selction
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Free Energy Mixing Function:",JLabel.LEFT),grd,gbc,0,n,2,1);
|
|
|
55b18ca |
- mixkey = new JComboBox<String>();
|
|
|
55b18ca |
+ mixkey = new JComboBox();
|
|
|
55b18ca |
mixkey.setForeground(art.scrf);
|
|
|
55b18ca |
mixkey.setBackground(art.scrn);
|
|
|
55b18ca |
mixkey.addItem("Linear");
|
|
|
55b18ca |
--- dl_class_1.9/java/StatProp.java 2012-04-11 14:10:20.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/StatProp.java 2012-04-10 14:50:57.000000000 +0100
|
|
|
55b18ca |
@@ -17,7 +17,7 @@
|
|
|
55b18ca |
public static StatProp job;
|
|
|
55b18ca |
private static GUI home;
|
|
|
55b18ca |
private static String prop;
|
|
|
55b18ca |
- private static JComboBox<String> property;
|
|
|
55b18ca |
+ private static JComboBox property;
|
|
|
55b18ca |
private static int npnts,keyprp,nstart;
|
|
|
55b18ca |
private static JTextField statis,start,selection;
|
|
|
55b18ca |
private static JButton run,close;
|
|
|
55b18ca |
@@ -81,7 +81,7 @@
|
|
|
55b18ca |
// Choice of ensemble
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel(" Property: ",JLabel.RIGHT),grd,gbc,0,n,1,1);
|
|
|
55b18ca |
- property = new JComboBox<String>();
|
|
|
55b18ca |
+ property = new JComboBox();
|
|
|
55b18ca |
property.setBackground(art.scrn);
|
|
|
55b18ca |
property.setForeground(art.scrf);
|
|
|
55b18ca |
property.addItem("E-TOT");
|
|
|
55b18ca |
--- dl_class_1.9/java/SysVar.java 2012-04-11 14:10:20.000000000 +0100
|
|
|
55b18ca |
+++ dl_class_1.9.old/java/SysVar.java 2012-04-10 14:54:38.000000000 +0100
|
|
|
55b18ca |
@@ -16,7 +16,7 @@
|
|
|
55b18ca |
*/
|
|
|
55b18ca |
private static MakeControl home=null;
|
|
|
55b18ca |
private static SysVar job=null;
|
|
|
55b18ca |
- private static JComboBox<String> ensemble,electro;
|
|
|
55b18ca |
+ private static JComboBox ensemble,electro;
|
|
|
55b18ca |
private static JTextField ttemp,tpress,ttstep,trcut,tdelr,trvdw,trprim,tepsq,ttaut,ttaup,tgamt;
|
|
|
55b18ca |
private static JButton close;
|
|
|
55b18ca |
|
|
|
55b18ca |
@@ -142,7 +142,7 @@
|
|
|
55b18ca |
// Choice of ensemble
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Ensemble.............",JLabel.LEFT),grd,gbc,0,n,1,1);
|
|
|
55b18ca |
- ensemble = new JComboBox<String>();
|
|
|
55b18ca |
+ ensemble = new JComboBox();
|
|
|
55b18ca |
ensemble.setBackground(art.scrn);
|
|
|
55b18ca |
ensemble.setForeground(art.scrf);
|
|
|
55b18ca |
ensemble.addItem("NVE");
|
|
|
55b18ca |
@@ -173,7 +173,7 @@
|
|
|
55b18ca |
// Choice of electrostatics
|
|
|
55b18ca |
|
|
|
55b18ca |
fix(new JLabel("Electrostatics.......",JLabel.LEFT),grd,gbc,0,n,1,1);
|
|
|
55b18ca |
- electro = new JComboBox<String>();
|
|
|
55b18ca |
+ electro = new JComboBox();
|
|
|
55b18ca |
electro.setBackground(art.scrn);
|
|
|
55b18ca |
electro.setForeground(art.scrf);
|
|
|
55b18ca |
electro.addItem("NONE");
|