mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 03:41:15 +01:00
name that better explains its behavior
This commit is contained in:
@@ -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;
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user