public static final void addSettingView(String semester) {
   Font f = new Font("serif", Font.PLAIN, 24);
   JComponent pnlSemester = makeTextPanel1(semester);
   tabbedPane1.addTab(semester, pnlSemester);
   tabbedPane1.setFont(f);
   initTabComponent(tabbedPane1.getTabCount() - 1);
 }
  public static final void addSemester(String s) {

    Font f = new Font("serif", Font.PLAIN, 24);
    JComponent pnlSemester1 = makeTextPanel2(s);
    tabbedPane2.addTab(s, pnlSemester1);
    tabbedPane2.setFont(f);
    initTabComponent2(tabbedPane2.getTabCount() - 1);

    JComponent pnlSettings1 = makeTextPanel1(s + " Settings");
    tabbedPane1.addTab(s + " Settings", pnlSettings1);
    tabbedPane1.setFont(f);
    initTabComponent(tabbedPane1.getTabCount() - 1);
    // frame.add(new GPA_Gui(), BorderLayout.NORTH);
  }
 private static void initTabComponent(int i) {
   tabbedPane1.setTabComponentAt(i, new ButtonTabComponent3(tabbedPane1));
 }