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