GUI Update 5.3
This commit is contained in:
@@ -52,7 +52,7 @@ public class texturenauswaehlen_GUI extends JFrame{
|
|||||||
private void erstelleFenster() {
|
private void erstelleFenster() {
|
||||||
//Fenster größen fetslegen
|
//Fenster größen fetslegen
|
||||||
setAlwaysOnTop(true);
|
setAlwaysOnTop(true);
|
||||||
setBounds(100, 100, 588, 558);
|
setBounds(100, 100, 391, 361);
|
||||||
contentPane = new JPanel();
|
contentPane = new JPanel();
|
||||||
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
|
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
|
||||||
setContentPane(contentPane);
|
setContentPane(contentPane);
|
||||||
@@ -61,40 +61,40 @@ public class texturenauswaehlen_GUI extends JFrame{
|
|||||||
|
|
||||||
//Vorschaubild
|
//Vorschaubild
|
||||||
vorschaubild = new JLabel();
|
vorschaubild = new JLabel();
|
||||||
vorschaubild.setBounds(117, 111, 167, 214);
|
vorschaubild.setBounds(32, 79, 167, 214);
|
||||||
contentPane.add(vorschaubild);
|
contentPane.add(vorschaubild);
|
||||||
|
|
||||||
//Text "Texturenauswahl"
|
//Text "Texturenauswahl"
|
||||||
JLabel lblNewLabel = new JLabel("Texturenauswahl");
|
JLabel lblNewLabel = new JLabel("Texturenauswahl");
|
||||||
lblNewLabel.setBounds(5, 5, 562, 25);
|
lblNewLabel.setBounds(34, 11, 304, 25);
|
||||||
lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 20));
|
lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 20));
|
||||||
lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
|
lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
|
||||||
contentPane.add(lblNewLabel);
|
contentPane.add(lblNewLabel);
|
||||||
|
|
||||||
//Teste Hinzufügen
|
//Teste Hinzufügen
|
||||||
hinzufuegen = new JButton("Hinzuf\u00FCgen");
|
hinzufuegen = new JButton("Hinzuf\u00FCgen");
|
||||||
hinzufuegen.setBounds(309, 125, 137, 23);
|
hinzufuegen.setBounds(209, 82, 137, 23);
|
||||||
hinzufuegen.addActionListener(e-> paketHinzufuegeb());
|
hinzufuegen.addActionListener(e-> paketHinzufuegeb());
|
||||||
contentPane.add(hinzufuegen);
|
contentPane.add(hinzufuegen);
|
||||||
|
|
||||||
|
|
||||||
//Teste Speichern
|
//Teste Speichern
|
||||||
speichern = new JButton("Speichern");
|
speichern = new JButton("Speichern");
|
||||||
speichern.setBounds(306, 231, 140, 23);
|
speichern.setBounds(209, 180, 140, 23);
|
||||||
speichern.addActionListener(e-> speichern());
|
speichern.addActionListener(e-> speichern());
|
||||||
contentPane.add(speichern);
|
contentPane.add(speichern);
|
||||||
|
|
||||||
|
|
||||||
//Teste Schießen
|
//Teste Schießen
|
||||||
schliessen = new JButton("Schlie\u00DFen");
|
schliessen = new JButton("Schlie\u00DFen");
|
||||||
schliessen.setBounds(306, 177, 140, 23);
|
schliessen.setBounds(209, 130, 140, 23);
|
||||||
schliessen.addActionListener(e-> schliessen());
|
schliessen.addActionListener(e-> schliessen());
|
||||||
contentPane.add(schliessen);
|
contentPane.add(schliessen);
|
||||||
|
|
||||||
|
|
||||||
//Auswahl Box
|
//Auswahl Box
|
||||||
comboBox = new JComboBox<String>();
|
comboBox = new JComboBox<String>();
|
||||||
comboBox.setBounds(117, 69, 351, 25);
|
comboBox.setBounds(10, 37, 351, 25);
|
||||||
contentPane.add(comboBox);
|
contentPane.add(comboBox);
|
||||||
|
|
||||||
aktualisiereInhalt();
|
aktualisiereInhalt();
|
||||||
|
Reference in New Issue
Block a user