@@ -0,0 +1,270 @@
+import java.awt.Dimension;%0A%0Aimport javax.swing.JPanel;%0A%0Apublic class Panel extends JPanel %7B%0A%09%0A%09/**%0A%09 * %0A%09 */%0A%09private static final long serialVersionUID = 1L;%0A%0A%09public Panel() %7B%0A%09%09Dimension size = getPreferredSize();%0A%09%09%0A%09%09size.width = 10;%0A%09%09setPreferredSize(size);%0A%09%7D%0A%7D%0A

Create Panel.java