We recommend using the default location, and checking the box so you won't be asked again.After Eclipse starts up, click the 'X' on the "Welcome" tab at the top to close the welcome screen.
When you get to the point of entering the full and complete location of the repository, copy and paste the line below as the repository's URL:svn+ssh://XXXXX@grid.cec.wustl.edu/project/cec/class/cse132/spring10/students/YYYY-ZZZZZZAfter pasting:
- Change XXXXX to your username that you use to log into cec computers. For example, jdl2.
- Change YYYY to your last name, exactly as it is shown in WebSTAC, with capital letters as shown, but without any quotes or spaces.
- Smith → Smith
- de Erausquin → deErausquin
- O'Kelly → OKelly
- Vera-Vazquez → Vera-Vazquez
- Be sure the hyphen – is still there, just after your last name and just before the ZZZZZZ.
- Change ZZZZZZ to your student id number, all 6 digits.Please keep your ID number a secret! Your workspace is intended to be used by you alone at this point.
OK, click Finish to get the repository location validated.
Be careful! If you provide a bad password repeatedly, your account will get locked out after a small number of such attempts. So be sure to follow these instructions carefully and ask if things are not working.
Those instructions next ask you to Check Out a copy of the repository location so you can do the work for this lab. Be sure to right click on the whole project (your name and ID number) to do the checkout. Do NOT click on things below that like src.
In whatever you pick, keep in mind that it is the model you should be affecting and examining.
Do not change the sliders or text field from your program; let them react on their own to changes you make to the model.
Hint: You can see how an ActionListener is added to the "go" button. This uses an anonymous inner class, which I'll explain in more detail in upcoming lectures. Try the same kind of thing with the model of each Controller, but use the ChangeListener instead. It reacts when the model's value is changed.
Eclipse is pretty good about suggesting what you'll need to implement the ChangeListener interface. Click on the yellow light bulbs to get that kind of help
Get some help from TAs or other students if you need it.
Address your method calls to the underlying model and not the slider directly. For example, if the red model value changes, then set the same value in the green and blue models.You'll need the ChangeListener methodology described above.
If possible, make your lock button toggle between locked mode and unlocked mode. Its text should reflect its current state (locked or unlocked).
Devise a way for a color to be increased instead of decreased, from its actual value to a maximum of 255.