Browse Source

[GamelauncherMain Class]: JLabel Initialisiert

remotes/origin/textadventure
fdai7431 2 years ago
parent
commit
0c80bf9f2b
  1. 35
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

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

@ -1,15 +1,38 @@
package de.hs_fulda.gruppenprojekt.JavaGamelauncher; package de.hs_fulda.gruppenprojekt.JavaGamelauncher;
import java.awt.AWTException;
import java.awt.BorderLayout;
import java.awt.CardLayout;
import java.awt.Color; import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
import java.awt.event.ActionListener; import java.awt.event.ActionListener;
import java.awt.EventQueue;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.image.BufferedImage;
import java.awt.Image;
import java.awt.Taskbar;
import java.awt.Toolkit;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.System.Logger.Level;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.imageio.ImageIO;
import javax.swing.border.EmptyBorder;
import javax.swing.GroupLayout.Alignment;
import javax.swing.GroupLayout;
import javax.swing.ImageIcon;
import javax.swing.JButton; import javax.swing.JButton;
import javax.swing.JFrame; import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.LayoutStyle.ComponentPlacement;
import javax.swing.SwingConstants;
public class GamelauncherMain extends JFrame {//class public class GamelauncherMain extends JFrame {//class
@ -135,6 +158,10 @@ public class GamelauncherMain extends JFrame {//class
} }
}); });
JLabel AdSnake = new JLabel("");
JLabel AdMouse = new JLabel("");
JLabel AdTikTakToe = new JLabel("");
JLabel AdTextadventure = new JLabel("");
}//end standardkonstruktor }//end standardkonstruktor

Loading…
Cancel
Save