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:After pasting:https://shell.cec.wustl.edu:8443/cse132/svn/YYYY-ZZZZZZ
- Change YYYY to your last name, exactly as it is shown in WebSTAC, with capital letters as shown, but without any quotes, spaces, or hyphens.
Examples:
- Smith → Smith
- de Erausquin → deErausquin
- O'Kelly → OKelly
- Vera-Vazquez → VeraVazquez
- 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.
Although only you can access your repository, you should generally keep your ID a secret.
- OK, click Finish to get the repository location validated.
- When you are prompted for a username and password, supply your
- WUSTL key username
- WUSTL key password
These are almost certainly different than your CEC login credentials. Your WUSTL key username and password are what you use to log into WebSTAC for registration.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.
When you done with this lab, you must be cleared by the TA to receive credit.
- Commit all your work to your repository
- Fill in the form below with the relevant information
- Have a TA check your work
- The TA should check your work and then fill in his or her name
- Click OK while the TA watches