File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/org/scijava/ui/swing Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5959import org .scijava .ui .awt .AWTDropTargetEventDispatcher ;
6060import org .scijava .ui .awt .AWTInputEventDispatcher ;
6161import org .scijava .ui .awt .AWTWindowEventDispatcher ;
62+ import org .scijava .ui .console .ConsolePane ;
6263import org .scijava .ui .swing .console .SwingConsolePane ;
6364import org .scijava .ui .swing .menu .SwingJMenuBarCreator ;
6465import org .scijava .ui .swing .menu .SwingJPopupMenuCreator ;
@@ -178,7 +179,10 @@ protected void createUI() {
178179
179180 toolBar = new SwingToolBar (getContext ());
180181 statusBar = new SwingStatusBar (getContext ());
181- consolePane = new SwingConsolePane (getContext ());
182+
183+ if (!Boolean .getBoolean (ConsolePane .NO_CONSOLE_PROPERTY )) {
184+ consolePane = new SwingConsolePane (getContext ());
185+ }
182186
183187 systemClipboard = new AWTClipboard ();
184188
You can’t perform that action at this time.
0 commit comments