# Space-separated list of JVM arguments used when running the project.
jnlp.mixed.code=default
# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
jnlp.offline-allowed=false
# To set system properties for unit tests define test-sys-prop.name=value:
jnlp.signed=false
run.jvmargs=
jnlp.signing=
run.test.classpath=\
jnlp.signing.alias=
${javac.test.classpath}:\
jnlp.signing.keystore=
${build.test.classes.dir}
main.class=reset_cartucho.index
source.encoding=UTF-8
# Optional override of default Application-Library-Allowable-Codebase attribute identifying the locations where your signed RIA is expected to be found.
# Optional override of default Caller-Allowable-Codebase attribute identifying the domains from which JavaScript code can make calls to your RIA without security prompts.
manifest.custom.caller.allowable.codebase=
# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed
JOptionPane.showMessageDialog(par,"Ocurrió un error al establecer comunicación con el arduino","ERROR",JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(par,"Ocurrió un error al establecer comunicación con el arduino\nNo se puede obtener los datos del puerto Serial","ERROR",JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(par,"Ocurrió un error al establecer comunicación con el arduino","ERROR",JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(par,"Ocurrió un error al establecer comunicación con el arduino\nNo se puede obtener los datos del puerto Serial","ERROR",JOptionPane.ERROR_MESSAGE);
System.exit(0);
}
}
}
}
};
};
...
@@ -46,6 +52,16 @@ public class index extends javax.swing.JFrame {
...
@@ -46,6 +52,16 @@ public class index extends javax.swing.JFrame {
JOptionPane.showMessageDialog(par,"Ocurrió un error al establecer comunicación con el arduino","ERROR",JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(par,"Ocurrió un error al establecer comunicación con el arduino\nEl Puerto "+cbx_com.getSelectedItem().toString()+" puede estar en uso.","ERROR",JOptionPane.ERROR_MESSAGE);
System.exit(0);
}
}
}else{
JOptionPane.showMessageDialog(par,"No hay Puertos para Listar","ERROR",JOptionPane.ERROR_MESSAGE);
System.exit(0);
}
}
}
}
...
@@ -82,14 +102,22 @@ public class index extends javax.swing.JFrame {
...
@@ -82,14 +102,22 @@ public class index extends javax.swing.JFrame {
JOptionPane.showMessageDialog(par,"Ocurrió un error al enviar mensaje al arduino","ERROR",JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(par,"Ocurrió un error al enviar mensaje al arduino\nNo se puede enviar datos a través del puerto Serial","ERROR",JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(par,"Ocurrió un error al enviar mensaje al arduino","ERROR",JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(par,"Ocurrió un error al enviar mensaje al arduino\nNo se puede enviar datos a través del puerto Serial","ERROR",JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(par,"Conexión reiniciada con el puerto "+cbx_com.getSelectedItem().toString().toUpperCase().trim()+" con "+Integer.parseInt(txt_baudios.getText().trim())+" baudios","INFORMACIÓN",JOptionPane.INFORMATION_MESSAGE);
JOptionPane.showMessageDialog(par,"Ocurrió un error al establecer comunicación con el arduino\nEl Puerto "+cbx_com.getSelectedItem().toString()+" puede estar en uso.","ERROR",JOptionPane.ERROR_MESSAGE);