Parveen thakur wrote:How i can use GridBagLayout for following code please suggest me..
Thanks @ Saloon Keeper and Michael Dunn
But I can't set the components of frame with the help of gridboxlayout....
I can't understand how divide the screens into row and cols ..... and how i can use the different gridbagconstaints property
I send a screen shot of screen that is created with the help of setBound()
But please suggest me how i can create the same output with the help of gridboxlayout or any other solution....
Please suggest or tell me how i can solve this above example, please solve the above example make compatible for all the above resolutions...
or give me brief idea with example to solve the problem or resolutions.... :shock:
Thanks and regards:
PT :confused:
Thanks for asking Michael Dunn
But this is my first case
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
Ketan Borkar wrote:try miglayout it's very easy to use and very flexible
Parveen thakur wrote:
but i till not getting any result and idea ?
Haris Tasawar wrote:Well for that you have to set the component bounds according to the current screen resolution...
Michael Dunn wrote:never, ever seen an app better suited
to absolute (null) positioning.
Haris Tasawar wrote:But i recently created an app using null layout.... i agree it was pain and took time but got it done when i got the hang of it..
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions