<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Tabbed Panes' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Tabbed Panes' posted on the 'Java' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Thu, 20 Jun 2013 03:18:41 -0700</pubDate>
    <lastBuildDate>Thu, 20 Jun 2013 03:18:41 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Tabbed Panes</title>
      <link>http://www.programmersheaven.com/mb/java/429820/429820/tabbed-panes/</link>
      <description>I am taking a class in JAVA and I have several little programs written in separate classes.  Now I need to add these to a TabbedPane.  I can create a tabbed pane that display messages and the tab names, but what do I do to get my tabs to bring up my programs.   Here is a snipped of the code I have.  Which displays the tab with the a "Welcome" message and labels the tab Tab#1.  Now I need to be able to tell this tab to put the program there so I can run it from the tab.  Thanks for any help anyone can provide.&lt;br /&gt;
&lt;br /&gt;
public class TabbedPane extends JFrame &lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
public TabbedPane()&lt;br /&gt;
{&lt;br /&gt;
super( "Test Company Name " );&lt;br /&gt;
&lt;br /&gt;
JTabbedPane tab = new JTabbedPane();&lt;br /&gt;
&lt;br /&gt;
JLabel l1 = new JLabel( "Welcome", SwingConstants.CENTER );&lt;br /&gt;
JPanel p1 = new JPanel();&lt;br /&gt;
p1.add( l1 );&lt;br /&gt;
tab.addTab( "Tab#1", null, p1, " Panel #1" );&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/java/429820/429820/tabbed-panes/</guid>
      <pubDate>Sun, 14 Oct 2012 07:46:10 -0700</pubDate>
      <category>Java</category>
    </item>
  </channel>
</rss>