title: How to enable buttons at start of gui in Netbeans
body: <p>This is not a duplicate as I already know the code <code>.setEnabled(false);</code>. My problem is that I am making a gui in netbeans and I cannot figure out how to disable/enable buttons. Obviously I am new to JAVA and Netbeans This is what I have to do:    </p>
  
  <ul>
  <li>Start the program with all buttons disabled except the Initialize
  button.    </li>
  <li>When Initialize is pressed the ArrayList will be filled with 5 CD
  titles. The Initialize button then becomes disabled and the other
  buttons become enabled.<br>
  The only code I know for buttons is <code>.setEnabled(false);</code> but it only disables button after I click it and what i need is to make one enabled and rest disabled. After I click it, it should be disabled and rest should be enabled.<br>
  The current code is not relevant but if you need it I will edit this post! Any help is greatly appreciated and thank you in advance!</li>
  </ul>