Release version 0.7

This commit is contained in:
skylarmt 2014-12-18 00:50:25 -07:00
parent 15c8a3276b
commit c1506c5bee
6 changed files with 42 additions and 23 deletions

View File

@ -31,7 +31,9 @@ import java.io.BufferedReader;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.io.StringWriter; import java.io.StringWriter;
import javax.script.*; import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
import javax.swing.JOptionPane; import javax.swing.JOptionPane;
/** /**
@ -88,6 +90,7 @@ public class CodeRunner {
/** /**
* Inits the Python engine. * Inits the Python engine.
*
* @param fakeInit Set it to true. * @param fakeInit Set it to true.
*/ */
public CodeRunner(boolean fakeInit) { public CodeRunner(boolean fakeInit) {
@ -101,7 +104,6 @@ public class CodeRunner {
+ "Could not properly initialize " + scriptLang + " scripting engine." + "Could not properly initialize " + scriptLang + " scripting engine."
+ "\n\nSome functions may not work.\n\n" + "\n\nSome functions may not work.\n\n"
+ "(" + ex.getMessage() + ")"); + "(" + ex.getMessage() + ")");
ex.printStackTrace();
} }
/** /**

View File

@ -494,7 +494,6 @@ public class MainGUI extends javax.swing.JFrame {
//</editor-fold> //</editor-fold>
//</editor-fold> //</editor-fold>
// Command line args // Command line args
for (String arg : args) { for (String arg : args) {
if (arg.equals("skippython")) { if (arg.equals("skippython")) {

View File

@ -27,8 +27,6 @@
*/ */
package net.apocalypselabs.symat; package net.apocalypselabs.symat;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.prefs.BackingStoreException; import java.util.prefs.BackingStoreException;
import java.util.prefs.Preferences; import java.util.prefs.Preferences;

View File

@ -18,13 +18,33 @@
*/ */
package net.apocalypselabs.symat; package net.apocalypselabs.symat;
import java.awt.*; import java.awt.Color;
import java.beans.*; import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.Point;
import java.awt.Rectangle;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.HashMap; import java.util.HashMap;
import javax.swing.*; import javax.swing.JPanel;
import javax.swing.border.*; import javax.swing.SwingUtilities;
import javax.swing.event.*; import javax.swing.border.Border;
import javax.swing.text.*; import javax.swing.border.CompoundBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.MatteBorder;
import javax.swing.event.CaretEvent;
import javax.swing.event.CaretListener;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;
import javax.swing.text.Element;
import javax.swing.text.JTextComponent;
import javax.swing.text.StyleConstants;
import javax.swing.text.Utilities;
/** /**
* This class will display line numbers for a related text component. The text * This class will display line numbers for a related text component. The text