package com.microtech.java;
import javax.swing.*;
import java.awt.*;
public class tab{
JFrame frame = new JFrame();
JLabel l1,l2,l3,l4;
JTabbedPane tp;
JPanel jp1,jp2,jp3,jp4;
tab(){
frame.setSize(700,700);
frame.getContentPane().setLayout(null);
JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
tabbedPane.setBounds(24, 51, 608, 561);
frame.getContentPane().add(tabbedPane);
JPanel panel = new JPanel();
tabbedPane.addTab("HOME", null, panel, null);
panel.setLayout(null);
JLabel lblNewLabel = new JLabel("");
lblNewLabel.setIcon(new ImageIcon(tab.class.getResource("/com/microtech/java/accessories-calculator.png")));
lblNewLabel.setBounds(59, 132, 314, 278);
panel.add(lblNewLabel);
JLabel lblNewLabel_1 = new JLabel("HOME TAB");
lblNewLabel_1.setBounds(183, 454, 144, 42);
panel.add(lblNewLabel_1);
JPanel panel_1 = new JPanel();
tabbedPane.addTab("CAREER", null, panel_1, null);
panel_1.setLayout(null);
JLabel lblNewLabel_2 = new JLabel("");
lblNewLabel_2.setIcon(new ImageIcon(tab.class.getResource("/com/microtech/java/accessories-calculator.png")));
lblNewLabel_2.setBounds(142, 73, 314, 278);
panel_1.add(lblNewLabel_2);
JLabel lblNewLabel_1_1 = new JLabel("CARRER TAB");
lblNewLabel_1_1.setBounds(198, 392, 144, 42);
panel_1.add(lblNewLabel_1_1);
JPanel panel_2 = new JPanel();
tabbedPane.addTab("HELP", null, panel_2, null);
panel_2.setLayout(null);
JLabel lblNewLabel_2_1 = new JLabel("");
lblNewLabel_2_1.setIcon(new ImageIcon(tab.class.getResource("/com/microtech/java/accessories-calculator.png")));
lblNewLabel_2_1.setBounds(143, 49, 314, 278);
panel_2.add(lblNewLabel_2_1);
JLabel lblNewLabel_1_1_1 = new JLabel("HELP TAB");
lblNewLabel_1_1_1.setBounds(207, 367, 144, 42);
panel_2.add(lblNewLabel_1_1_1);
JPanel panel_3 = new JPanel();
tabbedPane.addTab("CONTACT", null, panel_3, null);
panel_3.setLayout(null);
JLabel lblNewLabel_2_1_1 = new JLabel("");
lblNewLabel_2_1_1.setIcon(new ImageIcon(tab.class.getResource("/com/microtech/java/accessories-calculator.png")));
lblNewLabel_2_1_1.setBounds(127, 70, 314, 278);
panel_3.add(lblNewLabel_2_1_1);
JLabel lblNewLabel_1_1_2 = new JLabel("CONTACT TAB");
lblNewLabel_1_1_2.setBounds(199, 377, 144, 42);
panel_3.add(lblNewLabel_1_1_2);
JScrollBar scrollBar = new JScrollBar();
scrollBar.setBounds(657, 10, 29, 653);
frame.getContentPane().add(scrollBar);
JScrollBar scrollBar_1 = new JScrollBar();
scrollBar_1.setOrientation(JScrollBar.HORIZONTAL);
scrollBar_1.setBounds(0, 628, 660, 35);
frame.getContentPane().add(scrollBar_1);
frame.setVisible(true);
}
public static void main(String[] args)
{
new tab();
}
}
