Skip to content

Commit

Permalink
Better background color
Browse files Browse the repository at this point in the history
  • Loading branch information
rcx committed Jun 16, 2016
1 parent e0b3870 commit a404efa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/the/bytecode/club/jda/gui/MainViewerGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public boolean dispatchKeyEvent(KeyEvent e)
public Point unmaximizedPos;
public Dimension unmaximizedSize;

private static final Color COLOR_DESKTOP_BACKGROUND = new Color(58, 110, 165);
public JDesktopPane desktop;
public static ArrayList<VisibleComponent> rfComps = new ArrayList<>();
public FileNavigationPane navigator;
Expand Down Expand Up @@ -395,6 +396,8 @@ private void initializeWindows()
desktop.add(navigator);
desktop.add(workPane);
desktop.setDesktopManager(new WorkspaceDesktopManager());
if (desktop.getBackground().equals(Color.BLACK))
desktop.setBackground(COLOR_DESKTOP_BACKGROUND);

rfComps.add(navigator);
rfComps.add(workPane);
Expand Down

0 comments on commit a404efa

Please sign in to comment.