@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLayeredPane1 = new javax.swing.JLayeredPane();
        txtUname = new javax.swing.JTextField();
        lblUname = new javax.swing.JLabel();
        lblPassword = new javax.swing.JLabel();
        btnClear = new javax.swing.JButton();
        btnLogin = new javax.swing.JButton();
        txtPassword = new javax.swing.JTextField();
        lblBackground = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Login");
        setBounds(new java.awt.Rectangle(460, 210, 0, 0));
        setResizable(false);

        txtUname.setBounds(100, 20, 140, 30);
        jLayeredPane1.add(txtUname, javax.swing.JLayeredPane.DEFAULT_LAYER);

        lblUname.setText("Student ID:");
        lblUname.setBounds(20, 20, 70, 30);
        jLayeredPane1.add(lblUname, javax.swing.JLayeredPane.DEFAULT_LAYER);

        lblPassword.setText("Password:");
        lblPassword.setBounds(20, 60, 80, 30);
        jLayeredPane1.add(lblPassword, javax.swing.JLayeredPane.DEFAULT_LAYER);

        btnClear.setText("Clear");
        btnClear.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnClearActionPerformed(evt);
            }
        });
        btnClear.setBounds(100, 100, 60, 23);
        jLayeredPane1.add(btnClear, javax.swing.JLayeredPane.DEFAULT_LAYER);

        btnLogin.setText("Login ");
        btnLogin.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnLoginActionPerformed(evt);
            }
        });
        btnLogin.setBounds(170, 100, 70, 23);
        jLayeredPane1.add(btnLogin, javax.swing.JLayeredPane.DEFAULT_LAYER);
        txtPassword.setBounds(100, 60, 140, 30);
        jLayeredPane1.add(txtPassword, javax.swing.JLayeredPane.DEFAULT_LAYER);

        lblBackground.setIcon(new javax.swing.ImageIcon(getClass().getResource("/studentservices/blue.png"))); // NOI18N
        lblBackground.setBounds(0, 0, 250, 150);
        jLayeredPane1.add(lblBackground, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 248, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents