first java gui ever
followed tutorial on https://netbeans.org/kb/docs/java/gui-functionality.html