diff --git a/src/de/jaujau/gui/texturenauswaehlen_GUI.java b/src/de/jaujau/gui/texturenauswaehlen_GUI.java index 77dd22a..05ce0e4 100644 --- a/src/de/jaujau/gui/texturenauswaehlen_GUI.java +++ b/src/de/jaujau/gui/texturenauswaehlen_GUI.java @@ -1,31 +1,37 @@ package de.jaujau.gui; +import java.awt.BorderLayout; + +import javax.swing.JFrame; +import javax.swing.JPanel; +import javax.swing.border.EmptyBorder; + +import de.jaujau.daten.Texturenpakete; + /** - * Class texturenauswaehlen_GUI + * Klasse texturenauswaehlen_GUI */ -public class texturenauswaehlen_GUI { +public class texturenauswaehlen_GUI extends JFrame{ - // - // Fields - // + private static final long serialVersionUID = 1L; + private JPanel contentPane; + private Texturenpakete pakete; + + public texturenauswaehlen_GUI (Texturenpakete texturenpakete) { + pakete = texturenpakete; + erstelleFenster(); + } + + private void erstelleFenster() { + setAlwaysOnTop(true); + setBounds(100, 100, 588, 382); + contentPane = new JPanel(); + contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); + contentPane.setLayout(new BorderLayout(0, 0)); + setContentPane(contentPane); + } - // - // Constructors - // - public texturenauswaehlen_GUI () { }; - - // - // Methods - // - - - // - // Accessor methods - // - - // - // Other methods - // + }