mercredi 9 novembre 2016

Java - How can I get an Image in an if statement?

So this is the code that I right now have, as you can see, in the if statement should be an image.

private void jCheckBoxRegenActionPerformed(java.awt.event.ActionEvent evt) {                                               
    if (jCheckBoxRegen.isSelected()) {
        // TODO 
    } else {

    }// TODO add your handling code here:
} 

Thanks

Aucun commentaire:

Enregistrer un commentaire