How Can i Make Dynamic a JtabbedPane?
<p>as i said in title i wanna do dynamic jtabbedpane .. for example ;</p>

<pre><code>JTabbedPane tabbedPane = new JTabbedPane();
ImageIcon icon = createImageIcon("images/middle.gif");
JComponent panel1 = makeTextPanel("Panel #1");
tabbedPane.addTab("Tab 1", icon, panel1,"Does nothing");
</code></pre>

<p>i can dynamically adding tabs to tabbedpane container.But problem is how can i design  panels that i want to add tabbedpane.Its too hard to make from code behind.I can only add a label thats it :) Is there any way to Design my panel then add it Jtabbedpane from code behind ? .. </p>
