Browse Source

[GamelauncherMain Class]: Weitere Defintionen fuer labels

remotes/origin/textadventure
fdai7431 2 years ago
parent
commit
3fb91c05a4
  1. 18
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java
  2. 0
      JavaGamelauncher/src/main/resources/de/hs_fulda/gruppenprojekt/JavaGamelauncher/media/Mouse3.gif

18
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

@ -163,6 +163,24 @@ public class GamelauncherMain extends JFrame {//class
JLabel AdTikTakToe = new JLabel(""); JLabel AdTikTakToe = new JLabel("");
JLabel AdTextadventure = new JLabel(""); JLabel AdTextadventure = new JLabel("");
AdSnake.setForeground(Color.GRAY);
AdSnake.setBackground(Color.DARK_GRAY);
AdMouse.setForeground(Color.GRAY);
AdMouse.setBackground(Color.DARK_GRAY);
AdTikTakToe.setForeground(Color.GRAY);
AdTikTakToe.setBackground(Color.DARK_GRAY);
AdTextadventure.setBackground(Color.DARK_GRAY);
AdTextadventure.setForeground(Color.GRAY);
AdSnake.setBounds(10, 10, 300, 400);
AdMouse.setBounds(320, 10, 300, 400);
AdTikTakToe.setBounds(630, 10, 300, 400);
AdTextadventure.setBounds(940, 10, 300, 400);
AdSnake.setIcon(new ImageIcon(GamelauncherMain.class.getResource("/de/hs_fulda/gruppenprojekt/JavaGamelauncher/media/Snake3.gif")));
AdMouse.setIcon(new ImageIcon(GamelauncherMain.class.getResource("/de/hs_fulda/gruppenprojekt/JavaGamelauncher/media/Mouse3.gif")));
AdTikTakToe.setIcon(new ImageIcon(GamelauncherMain.class.getResource("/de/hs_fulda/gruppenprojekt/JavaGamelauncher/media/TikTakToe3.gif")));
AdTextadventure.setIcon(new ImageIcon(GamelauncherMain.class.getResource("/de/hs_fulda/gruppenprojekt/JavaGamelauncher/media/Textadventure3.gif")));
}//end standardkonstruktor }//end standardkonstruktor

0
JavaGamelauncher/src/main/resources/de/hs_fulda/gruppenprojekt/JavaGamelauncher/media/maze.gif → JavaGamelauncher/src/main/resources/de/hs_fulda/gruppenprojekt/JavaGamelauncher/media/Mouse3.gif

Before

Width: 310  |  Height: 311  |  Size: 82 KiB

After

Width: 310  |  Height: 311  |  Size: 82 KiB

Loading…
Cancel
Save