public void setValues(ResultSet Asset, String confirmPassword, String userType, String username) {
        
        this.userType = userType;
        this.username = username;
        
        
        //initComponents();
        this.setVisible(true);
        this.setLocationRelativeTo(null);
        this.PW = confirmPassword;
        
         try
        {
            Asset.next();
            
            AssetName.setText((Asset.getString("assetname")));
            aID = Asset.getInt("assetID");
           
        
        }catch(SQLException s){
                    System.out.println("SQLException:");
                    System.out.println("\tSQL Error code: "+s.getErrorCode());
                    System.out.println("\tSQL State: "+s.getSQLState());
                }
        
        
    }