home *** CD-ROM | disk | FTP | other *** search
- import com.sun.java.swing.JApplet;
- import com.sun.java.swing.JScrollPane;
- import com.sun.java.swing.JTabbedPane;
-
- public class TabExample extends JApplet {
- public void init() {
- JTabbedPane var1 = new JTabbedPane();
- var1.addTab("Table example", new JScrollPane(new MyTable()));
- var1.addTab("Editor example", new MyEditor(this));
- ((JApplet)this).getContentPane().add(var1);
- }
- }
-