I'm about to start on my Java course next semester. Since I've only coded in C/C++ til now, I'm a bit stumped. I'll give you an assignment from last year, maybe some of you guys can show me how this program would look like in Java.
Create a JFrame window (with BorderLayout).
There are two ComboBoxes in the bottom.
In the first ComboBox, the user can select the amount of figures
In the second ComboBox, the user can select the figure desired (triangle, square, circle)
After selecting the desired values from the combobox and clicking anywhere,
the selected amount of the desired figures appear on random coordinates in the
By pressing the "Enter" key, you can erase the drawn figures (the amount turns to 0)
By pressing the up-arrow and down-arrow keys, you can make the figures bigger or smaller.
I really hope some of you guys can help me out on this one. Cheers.