import javax.swing.*;
import java.awt.*;

public class Main extends JFrame {

    public Main() {
        setTitle("PT in TLE");
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setLayout(new BorderLayout());

        JPanel panel = new JPanel(new GridLayout(0, 1));
        panel.setBackground(Color.PINK); 

        String[] divisionTables = {
                "SUBMITTED TO: Ms. Karen G. Matias",
                "SUBMITTED BY: Krissa J. Delfin",
                "10 - St. Ambrose",
                "MY PERFORMANCE TASK IN T.L.E.",
                "Division table Number 11",
                "11/1 = 11",
                "11/2 = 5.5",
                "11/3 = 3.66",
                "11/4 = 2.75",
                "11/5 = 2.2",
                "11/6 = 1.83",
                "11/7 = 1.57",
                "11/8 = 1.375",
                "11/9 = 1.22",
                "11/10 = 1.1",
                "Division table Number 12",
                "12/1 = 12",
                "12/2 = 6",
                "12/3 = 4",
                "12/4 = 3",
                "12/5 = 2.4",
                "12/6 = 2",
                "12/7 = 1.71",
                "12/8 = 1.5",
                "12/9 = 1.33",
                "12/10 = 1.2",
                "Division table Number 13",
                "13/1 = 13",
                "13/2 = 6.5",
                "13/3 = 4.33",
                "13/4 = 3.25",
                "13/5 = 2.6",
                "13/6 = 2.16",
                "13/7 = 1.85",
                "13/8 = 1.625",
                "13/9 = 1.44",
                "13/10 = 1.3",
                "Division table Number 14",
                "14/1 = 14",
                "14/2 = 7",
                "14/3 = 4.66",
                "14/4 = 3.5",
                "14/5 = 2.8",
                "14/6 = 2.33",
                "14/7 = 2",
                "14/8 = 1.75",
                "14/9 = 1.55",
                "14/10 = 1.4",
                "Division table Number 15",
                "15/1 = 15",
                "15/2 = 7.5",
                "15/3 = 5",
                "15/4 = 3.75",
                "15/5 = 3",
                "15/6 = 2.5",
                "15/7 = 2.14",
                "15/8 = 1.875",
                "115/9 = 1.66",
                "15/10 = 1.5"
        };

        for (String entry : divisionTables) {
            JLabel label = new JLabel(entry);
            panel.add(label);
        }

        JScrollPane scrollPane = new JScrollPane(panel);
        add(scrollPane, BorderLayout.CENTER);

        setSize(400, 600);
        setLocationRelativeTo(null);
        setVisible(true);
    }

    public static void main(String[] args) {
        SwingUtilities.invokeLater(() -> new Main());
    }
}