diff --git a/app/PdeBase.java b/app/PdeBase.java index d97444729..0d09e23a5 100644 --- a/app/PdeBase.java +++ b/app/PdeBase.java @@ -166,8 +166,7 @@ public class PdeBase extends Frame public PdeBase() { - super(System.getProperty("sun.boot.class.path")); - //super(WINDOW_TITLE); + super(WINDOW_TITLE); frame = this; // clean this up later try { diff --git a/app/PdeCompiler.java b/app/PdeCompiler.java index dc02b9a7d..ceec4c9ef 100644 --- a/app/PdeCompiler.java +++ b/app/PdeCompiler.java @@ -45,6 +45,11 @@ public class PdeCompiler implements PdeMessageConsumer{ public boolean compileJava(PrintStream leechErr) { String command[] = new String[] { "jikes", + + // used when run without a vm ("expert" mode) + "-bootclasspath", + System.getProperty("sun.boot.class.path"), + "-nowarn", // we're not currently interested in warnings "+E", // output errors in machine-parsable format "-d", buildPath, // output the classes in the buildPath diff --git a/app/PdeEditor.java b/app/PdeEditor.java index ce58faf53..ca6a41fb8 100644 --- a/app/PdeEditor.java +++ b/app/PdeEditor.java @@ -41,13 +41,6 @@ import com.apple.mrj.*; public class PdeEditor extends JPanel { - - static final String DEFAULT_PROGRAM = "// type program here\n"; - - //static final String NEW_SKETCH_ITEM = "( new sketch )"; - //static final String SKETCH_PREFIX_NAME = "sketch-"; - //static final String CODE_FILENAME = "sketch.pde"; - // otherwise, if the window is resized with the message label // set to blank, it's preferredSize() will be fukered static final String EMPTY = " ";