package de.dhbw.wi13c.jguicreator.data.util;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JPanel;

public abstract class GUIKomponente extends JPanel
{
	GUIKomponente()
	{
		setPreferredSize(new Dimension(200, 200));
		setOpaque(true);
		setBackground(Color.RED);
		setVisible(true);
	}
}

@@ -172,16 +172,26 @@
 anel%0A%7B%0A%09
+protected 
 GUIKompo
@@ -207,100 +207,203 @@
 %7B%0A%09%09
-setPreferredSize(new Dimension(200, 200));%0A%09%09setOpaque(true);%0A%09%09setBackground(Color.RED);%0A%09%09
+this(350, 40);%0A%09%7D%0A%0A%09protected GUIKomponente(int pWidth, int pHeigth)%0A%09%7B%0A%09%09this.setPreferredSize(new Dimension(pWidth, pHeigth));%0A%09%09this.setBackground(Color.WHITE);%0A%09%09this.setOpaque(true);%0A%09%09this.
 setV

Change New Constructor for GuiKomponente