|
|
@ -163,6 +163,24 @@ public class GamelauncherMain extends JFrame {//class |
|
|
|
JLabel AdTikTakToe = 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 |
|
|
|
|
|
|
|