This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I would like to get the attached swing layout but I'm unable to. I was trying the below code.
Note: I don't want to use any GUI builders or GroupLayout. Please let me know if there is anyother way to get the desired output (see attached jpg file)using other Layouts. It need not be exactly the same as in the image but at least near to it.
Javas layouts are very very powerful ... there is nothing you can't do.
Usually the BorderLayout will do its job.
However when starting to build some complex applications, you will have to use GridBagLayout.