title: Java first GUI, two classes
body: <p>I'm trying to program my first GUI-class in Java, using the Window Builder. Ok, the GUI is ready but has no functions yet (it contains 10 checkboxes (yes, they are all neccessary) and 2 buttons and a JTextField, so nothing special). So I just drag'n'dropped the checkboxes and button into the window, I haven't coded anything yet.</p>
  
  <p>I have two classes:
  GUI.java -> only for the layout
  Main.java -> should get 'inputs' from GUI.java</p>
  
  <p>Now the user should check or uncheck the checkboxes and then finally press a button.</p>
  
  <p>But how do I 'read out' if a checkbox is checked or not - I have two classes?</p>
  
  <p>I have to add that I'm a beginner to Java and especially to GUI-programming, but I just want to learn it. I would be happy to receive some help but NOT the complete code.</p>