mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-171027 IDEA-175146 Check environment mode to avoid exception
This commit is contained in:
@@ -186,7 +186,7 @@ public class ClassesTable extends JBTable implements DataProvider, Disposable {
|
||||
releaseMouseListener();
|
||||
getEmptyText().setText(text);
|
||||
|
||||
if (getMousePosition() != null) {
|
||||
if (!GraphicsEnvironment.isHeadless() && getMousePosition() != null) {
|
||||
setBackground(CLICKABLE_COLOR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user