diff --git a/java/src/processing/mode/java/ErrorBar.java b/java/src/processing/mode/java/ErrorColumn.java similarity index 98% rename from java/src/processing/mode/java/ErrorBar.java rename to java/src/processing/mode/java/ErrorColumn.java index abc376605..779ac7d6c 100644 --- a/java/src/processing/mode/java/ErrorBar.java +++ b/java/src/processing/mode/java/ErrorColumn.java @@ -54,7 +54,7 @@ import processing.app.Language; * @author Manindra Moharana <me@mkmoharana.com> * */ -public class ErrorBar extends JPanel { +public class ErrorColumn extends JPanel { /** * Preferred height of the component */ @@ -133,7 +133,7 @@ public class ErrorBar extends JPanel { } - public ErrorBar(JavaEditor editor, int height, JavaMode mode) { + public ErrorColumn(JavaEditor editor, int height, JavaMode mode) { this.editor = editor; this.preferredHeight = height; this.errorCheckerService = editor.errorCheckerService; diff --git a/java/src/processing/mode/java/JavaEditor.java b/java/src/processing/mode/java/JavaEditor.java index 9cc1a151a..5dbd5d4a5 100644 --- a/java/src/processing/mode/java/JavaEditor.java +++ b/java/src/processing/mode/java/JavaEditor.java @@ -79,7 +79,7 @@ public class JavaEditor extends Editor { // private EditorToolbar javaToolbar; // private DebugToolbar debugToolbar; - private ErrorBar errorBar; + private ErrorColumn errorBar; // protected XQConsoleToggle btnShowConsole; // protected XQConsoleToggle btnShowErrors; @@ -162,7 +162,7 @@ public class JavaEditor extends Editor { // remove the text area temporarily box.remove(2); textAndError.setLayout(new BorderLayout()); - errorBar = new ErrorBar(this, textarea.getMinimumSize().height, jmode); + errorBar = new ErrorColumn(this, textarea.getMinimumSize().height, jmode); textAndError.add(errorBar, BorderLayout.EAST); textarea.setBounds(0, 0, errorBar.getX() - 1, textarea.getHeight()); textAndError.add(textarea);