1
0

Change menu item colors

This commit is contained in:
Victor 2014-03-13 11:30:58 +02:00
parent b3e5da77ee
commit 2155e78962
2 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ public class Main extends JFrame {
setLocationByPlatform(true);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
add(new JLayer<>(new MenuPanel(), new LayerUI.GradientBackground()));
add(new JLayer<>(new MenuPanel(), new LayerUI.PlanetBackground()));
pack();
}

View File

@ -34,6 +34,7 @@ public class MenuPanel extends JPanel {
menuList = new JList<>(MENU_ITEMS);
menuList.setOpaque(false);
menuList.setFont(new Font("Stencil", Font.BOLD, 42));
menuList.setForeground(Color.GRAY);
menuList.setBackground(Color.BLACK);
menuList.setSelectionBackground(Color.BLACK);
menuList.setSelectionForeground(TITLE_COLOR);