I'm having trouble with making my JPanel look right. I am not very experienced with building GUIs yet. I've tried everything I could and now I need some major help. The JFrame is very simple looking. I got it as close as i could and then threw a screenshot in paint to modify it to how I want it to look. Can someone help me? I just want it to look very similar to the screen shot. But when the program starts, the green panel will be opaque, then after you click the button, depending on the result of the if-then statement I will write, it will either turn RED or GREEN. I know how to do that but I just need the actual layout corrected. Ignore the "fake" button i created. I was experimenting and it was the only way I could get the colored pane to show up on the bottom. I think my grid is just not formatted right.
Thanks for any help!