Java Swing if else statement using Netbeans IDE

Published --