GUI Warnings entfernt

This commit is contained in:
ekresse
2021-01-06 18:40:28 +01:00
parent daa468808f
commit ea911d3c20
5 changed files with 9 additions and 40 deletions

View File

@@ -6,30 +6,16 @@ import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import de.jaujau.daten.Audio;
import de.jaujau.daten.Spieler;
import de.jaujau.daten.Spielerverwaltung;
import de.jaujau.daten.Texturenpakete;
import de.jaujau.spiellogik.Anwendung;
import de.jaujau.spiellogik.Spiel;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.BoxLayout;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import java.awt.Dimension;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComboBox;
import javax.swing.JButton;
import javax.swing.SwingConstants;
import javax.swing.ImageIcon;
import javax.swing.DebugGraphics;
import java.awt.Rectangle;
import java.awt.Component;
import java.awt.FlowLayout;
@@ -37,8 +23,6 @@ import java.awt.ComponentOrientation;
import java.awt.Cursor;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.UIManager;
import java.awt.Font;
@@ -55,16 +39,13 @@ public class Dashboard_GUI extends JPanel{
private JComboBox<String> comboBox = new JComboBox<String>();
private final JPanel panel_2 = new JPanel();
private final JLabel lblNewLabel_1 = new JLabel("Entwickler: Sebastian, Moritz, Fabian, Aladin, Elmar");
private final JButton btnNewButton = new JButton("New button");
private final JPanel spielfeld = new JPanel();
private final JPanel player_hand = new JPanel();
private final JPanel gegner_hand = new JPanel();
private final JLabel ablagestapel = new JLabel("");
private final JLabel ziehstapel = new JLabel("");
private final JLabel lblNewLabel_2_1 = new JLabel("");
JPanel spielerkarten = new JPanel();
JLabel labels[] = new JLabel[32];
private Audio sound = new Audio();
private Spiel aktuellesSpiel;
private JLabel label_aktuellerSpieler;
private Texturenpakete texturenpakete;

View File

@@ -5,7 +5,6 @@ import javax.swing.JFrame;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
@@ -13,7 +12,6 @@ import javax.swing.SwingConstants;
import de.jaujau.daten.Spielerverwaltung;
import de.jaujau.daten.Texturenpakete;
import de.jaujau.spiellogik.Anwendung;
import de.jaujau.spiellogik.Spiel;
import java.awt.event.MouseAdapter;

View File

@@ -1,8 +1,6 @@
package de.jaujau.gui;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
@@ -14,6 +12,10 @@ import javax.swing.JTextArea;
public class Hilfe_GUI extends JFrame {
/**
*
*/
private static final long serialVersionUID = 1L;
private JPanel contentPane;
/**

View File

@@ -2,37 +2,28 @@ package de.jaujau.gui;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import java.awt.BorderLayout;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JLabel;
import java.awt.Color;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Image;
import javax.swing.BoxLayout;
import java.awt.Component;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.ImageIcon;
import java.awt.CardLayout;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import java.awt.Insets;
public class Navigation_GUI
extends JPanel
implements ActionListener {
/**
*
*/
private static final long serialVersionUID = 1L;
private JPanel panel;

View File

@@ -1,8 +1,5 @@
package de.jaujau.gui;
import java.util.*;
/**
* Class texturenauswaehlen_GUI
*/