File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/the/bytecode/club/jda/gui Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ public boolean dispatchKeyEvent(KeyEvent e)
134134 public Point unmaximizedPos ;
135135 public Dimension unmaximizedSize ;
136136
137+ private static final Color COLOR_DESKTOP_BACKGROUND = new Color (58 , 110 , 165 );
137138 public JDesktopPane desktop ;
138139 public static ArrayList <VisibleComponent > rfComps = new ArrayList <>();
139140 public FileNavigationPane navigator ;
@@ -395,6 +396,8 @@ private void initializeWindows()
395396 desktop .add (navigator );
396397 desktop .add (workPane );
397398 desktop .setDesktopManager (new WorkspaceDesktopManager ());
399+ if (desktop .getBackground ().equals (Color .BLACK ))
400+ desktop .setBackground (COLOR_DESKTOP_BACKGROUND );
398401
399402 rfComps .add (navigator );
400403 rfComps .add (workPane );
You can’t perform that action at this time.
0 commit comments