/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.gs.stu.view;
import com.gs.stu.bean.Manager;
import com.gs.stu.bean.Student;
import com.gs.stu.bean.Teacher;
import com.gs.stu.util.LocationUtil;
import com.gs.stu.service.impl.ManagerServiceImpl;
import com.gs.stu.service.impl.StudentServiceImpl;
import com.gs.stu.service.impl.TeacherServiceImpl;
import com.gs.stu.service1.ManagerService;
import com.gs.stu.service1.StudentService;
import com.gs.stu.service1.TeacherService;
import javafx.scene.control.RadioButton;
/**
*
* @author HP-Developer
*/
public class LoginJFrame extends javax.swing.JFrame {
ManagerService managerService=new ManagerServiceImpl();
StudentService ss=new StudentServiceImpl();
TeacherService ts= new TeacherServiceImpl();
/**
* Creates new form LoginJFrame
*/
public LoginJFrame() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
buttonGroup1 = new javax.swing.ButtonGroup();
loginPicPanel1 = new com.gs.stu.view.LoginPicPanel();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
tfusername = new javax.swing.JTextField();
pfpassword = new javax.swing.JPasswordField();
btlogin = new javax.swing.JButton();
btreset = new javax.swing.JButton();
rbmanager = new javax.swing.JRadioButton();
rbTeacher = new javax.swing.JRadioButton();
rbStudent = new javax.swing.JRadioButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setIconImage(getIconImage());
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/gw/stu/source/user.JPG"))); // NOI18N
jLabel1.setText("用户名");