-1
I received this variable (per parameter) from another Jframe:
public App(int id) {
System.out.println("teste: "+id);
/* codigo aqui... */
}
and wanted to use inside that 'action performed button':
private void MostrarActionPerformed(java.awt.event.ActionEvent evt) {
int local = id;
/* codigo aqui... */
}
How do I do it? I pass it to Static inside the . class? but how is it done?