I am trying to put three different things on a window, any way I can. I don't understand how to work any of the layout managers... it seems like BorderLayout isn't even working. My goal is to get the change button at the top, the circle in the middle, and then the square at the bottom. All I see is the change button. What am I doing wrong?
got it working, I had to set the window size to be larger to display the content at the bottom (the square and its info) and also I switched to BoxLayout so it was arranged from top to bottom.
Studying for SCJP 6
posted 8 years ago
Still with help of FlowLayout you can horizontally align contents in it like: