getting gl4java wired in, removing KjcApplet for simplicity

This commit is contained in:
benfry
2003-07-13 18:08:53 +00:00
parent 5207c31b9c
commit 4bfb8355f5
11 changed files with 160 additions and 266 deletions

View File

@@ -28,8 +28,8 @@ public class PdeEditorConsole extends JScrollPane {
boolean cerror;
static final int HINSET = 6;
static final int VINSET = 6;
//static final int HINSET = 6;
//static final int VINSET = 6;
static PrintStream systemOut;
static PrintStream systemErr;
@@ -47,7 +47,7 @@ public class PdeEditorConsole extends JScrollPane {
JTextPane consoleTextPane = new JTextPane();
consoleTextPane.setEditable(false);
consoleDoc = consoleTextPane.getStyledDocument();
// necessary?
MutableAttributeSet standard = new SimpleAttributeSet();
StyleConstants.setAlignment(standard, StyleConstants.ALIGN_LEFT);
@@ -62,7 +62,7 @@ public class PdeEditorConsole extends JScrollPane {
new Color(204, 51, 0));
Font font = PdeBase.getFont("editor.console.font",
new Font("Monospaced", Font.PLAIN, 11));
stdStyle = new SimpleAttributeSet();
StyleConstants.setForeground(stdStyle, fgColorOut);
StyleConstants.setBackground(stdStyle, bgColor);