trackeditor: remove some unused variables

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8299 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4ac427f1d6f4a9d991f188fe9f2be6722f0058a3
Former-commit-id: 31dceb14cdf8dc08a1b0d2f6f018e8aa84a1a896
This commit is contained in:
iobyte 2022-07-05 18:28:59 +00:00
parent 8dcbab5ca4
commit b00d44ed16
2 changed files with 8 additions and 56 deletions

View file

@ -45,10 +45,8 @@ import javax.swing.JTextField;
*/
public class DeltaPanel extends JDialog implements Runnable
{
public static Vector args = new Vector();
private EditorFrame editorFrame;
//private Properties properties = Properties.getInstance();
Thread ac3d;
private Thread ac3d;
private JPanel jPanel = null;
private JLabel nameLabel = null;
@ -80,10 +78,10 @@ public class DeltaPanel extends JDialog implements Runnable
/**
*
*/
public DeltaPanel(EditorFrame frame,String title, boolean modal)
public DeltaPanel(EditorFrame editorFrame, String title, boolean modal)
{
super(frame,title,modal);
editorFrame = frame;
super(editorFrame, title, modal);
this.editorFrame = editorFrame;
initialize();
}
@ -187,28 +185,6 @@ public class DeltaPanel extends JDialog implements Runnable
notifyAll();
}
/**
* @return
*/
private static String getArgs()
{
String tmp = "";
for (int i = 0; i < args.size(); i++)
{
tmp += args.get(i);
}
return tmp;
}
/**
* @param vector
*/
public static void setArgs(Vector vector)
{
args = vector;
}
/**
* This method initializes jPanel
*
@ -418,8 +394,7 @@ public class DeltaPanel extends JDialog implements Runnable
*
*/
protected void startTrackgen()
{
{
editorFrame.exportTrack();
ac3d = new Thread(this);
ac3d.start();

View file

@ -20,11 +20,9 @@
*/
package gui;
import java.awt.Frame;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Vector;
import javax.swing.JDialog;
import javax.swing.JLabel;
@ -40,8 +38,7 @@ import javax.swing.JTextField;
*/
public class TrackgenPanel extends JDialog implements Runnable
{
public static Vector args = new Vector();
public EditorFrame editorFrame;
private EditorFrame editorFrame;
private Thread ac3d = new Thread(this);
private JPanel jPanel = null;
@ -57,10 +54,10 @@ public class TrackgenPanel extends JDialog implements Runnable
private JLabel trackgenLabel = null;
private JLabel waitLabel = null;
public TrackgenPanel(Frame editorFrame)
public TrackgenPanel(EditorFrame editorFrame)
{
super();
this.editorFrame = (EditorFrame) editorFrame;
this.editorFrame = editorFrame;
initialize();
ac3d.start();
}
@ -139,26 +136,6 @@ public class TrackgenPanel extends JDialog implements Runnable
}
this.waitLabel.setText("Track finished");
}
/**
* @return
*/
private static String getArgs()
{
String tmp = "";
for (int i = 0; i < args.size(); i++)
{
tmp += args.get(i);
}
return tmp;
}
/**
* @param vector
*/
public static void setArgs(Vector vector)
{
args = vector;
}
/**
* This method initializes jPanel