Hi, Thanks very much for your help.I have given some reasons for using null layout. Reasons for not using Layout Managers:
Actually our application is GUI intensive with media rich with numerous components used. Exact placing of components is very important, i.e every pixel counts, hence we found it very complicated going for the gridbag layout, So we started with null layout and it continues. Our application contains huge amount of text and its all HTML font. So the probelm with designing the applciation for different resolutions is the font size and another important problem is TAB size setting I don't see any Layout managers taking care of the font sizes for different resolutions and so its another reason for not going for NULL Layout. Actually we use a font size of 15 in 1024x768 resolution and font size of 11 in 800x600 resolution.The main problem we face is the TAB setting, We couldn't match the TAB size for both the font sizes. I have attached a sample code,run it in both the resoltuions. you can see the difference. Thanks once again, Gs -----Original Message----- From: Ramana TSV [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 3:12 PM To: Gs; [EMAIL PROTECTED] Subject: Re: Designing Swing Applications for different resolutions with null layouts Could you give your reasons for not using a LayoutManager ? I personally know a lot of people who shun away from GridBagLayout but believe me, once you understand the basic concepts, its pretty simple & powerful to design very complex UIs tool. ----- Original Message ----- From: "Gs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 10:49 AM Subject: Designing Swing Applications for different resolutions with null layouts > Hi, > We are developing a swing application which should support 1024x768 and > 800x600 resolutions. > We are using lot of Rastor images (PNG), the text is HTML TEXT, > We notrmally don't use Layout Managers, we use NULL Layout. > We face lot of problems in this regard, Need some suggestions regarding > this. > Thanks, > Gs > > > > _______________________________________________ > Swing mailing list > [EMAIL PROTECTED] > http://eos.dk/mailman/listinfo/swing _______________________________________________ Swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/swing
