Now that you’ve run your first Java program, let’s run your first GUI Java program.
Rx: <5 min Av: 5-10 min Sd: 10-15 min DNF: 15+ min
File > Import > General > Existing Projects into Workspace
HelloWorldGUI.zip
you just downloadedHelloWorldGUI.java
.HelloWorld_uLogin
by right-clicking on the project and selecting Refactor > Rename
paintComponent
method in the HelloWorldGUI class so that the blue circle forms an even border around the yellow:
Export > General > Archive File
. Name the file HelloWorldGUI_uLogin.zip
.Once you’ve finished doing the HW a single time, watch me do it:
You’ll learn significantly less from watching me solve the practice HW if you haven’t attempted the HW yourself first.
While it’s an achievement to finish the HW no matter how long it takes, you might experience “diminishing returns” if you work longer than the DNF time. Thus, it might be strategic to stop working at the DNF time and watch my solution.
After watching my solution, I recommend that you repeat the HW if you have not achieved at least Av performance. If so, be sure to:
Feel free to keep trying until you make Rx if that’s of interest to you.