private void loginbtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_loginbtnActionPerformed
// TODO add your handling code here:
if(this.jCheckBoxXml.isSelected()){
System.out.println("xml chosen");
if(new XmlServerData(this,this.username,this.password).fetchdata()){
this.dispose();
}
else{
JOptionPane.showMessageDialog(null, "Unauthorized access");
}