måndag 4 juni 2012

Interactors( GUI)

Lecture 20.

GUI - Graphical User Interface
Interactors

A lot of coding in this lecture. I had to change a lot in his code because i don't have access to the Stanfords own library (which what I understand has  a lot of methods already written in it to simplify for the students). Anyhow, interactors are buttons, sliders, checkboxes, radio buttons, combo box and text box.

Don't forget to create an instance variable if you need to keep track of the variable between methodcalles.
Ex.
   pick = new JComboBox();
......
}
private JComboBox pick;