i amconfused that which layout do i used for placing noumber of panel in Frame
in following ways
1) first variable lenght(heigth) with is fixed to width of frame
2) second panel in similar fassion
3) third panel in similar pasion
and so on
i amconfused that which layout do i used for placing noumber of panel in Frame
in following ways
1) first variable lenght(heigth) with is fixed to width of frame
2) second panel in similar fassion
3) third panel in similar pasion
and so on
Of all the layout managers GridBagLayout is by far the most capable. There's a bit of a learning curve because there are so many options, but IMHO it's worth it. You can play with the easier ones for little homework apps, but if you are going to use Java seriously then sooner or later you will end up using GridBagLayout. Why waste time mastering the others? I say go for it!
http://download.oracle.com/javase/tutorial/uiswing/layout/gridbag.html
thankx
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.