Laying out JPanels to make a simple GUI?

You should never call setSize() in your code. In Java, you use layout managers to do the layout (read that tutorial). Subclassing JPanel to implement different parts of which the UI is composed is a good practice, but should not be overdone (it's fine to have an UI class that adds 3 other plain JPanel instances to itself for layout purposes).

You should never call setSize() in your code. In Java, you use layout managers to do the layout (read that tutorial).

Check out MiG Layout : one can make pretty easily java layouts with that.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions