 

package sa.edu.uqu.gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

 /**
 *
 * @author Moh'd Al-yazidi
 */
class AddStudentGradeMenuListener implements ActionListener {
  MainFrame mainFrame;
    public AddStudentGradeMenuListener(MainFrame mainFrame) {
        this.mainFrame=mainFrame;
    }

    @Override
    public void actionPerformed(ActionEvent e) {

        mainFrame.reloadAddActualCourseCombo();
        mainFrame.reloadAddStudentCombo();
    
    mainFrame.mainLayout.show(mainFrame.mainPanel,"addGradeToStudentPanel");
    }
    
}
