Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2806

Re: Screen Resolution

From "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this>
Subject Re: Screen Resolution
Message-ID <gtSdnUux9J-GGtnanZ2dnUVZ_jGdnZ2d@wavecable.com> (permalink)
Newsgroups comp.lang.java.gui
References <5qj5d0F101juuU1@mid.dfncis.de>
Date 2011-04-27 15:41 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Abdelali Adil wrote:
> 
> Andrew Thompson wrote:
>> I agree about the interesting part.  I am a strong advocate of the 
>> fact that if there is any complexity whatsoever in a custom layout,
>> it should be encapsulated (written, coded) in a LayoutManager.
>>
>> ( Definining a custom layout manager is a lot easier than most
>> people think. )
>>
>> OTOH - a lot of the things people expect can only be provided by a 
>> custom LM (or a null LM) can coded using Sun standard
>> LMs, just by using 'nested layouts'.
> 
> You 're right, but in my case it's only a prototype.
> 
If its only a prototype, what about using a GUI builder?

In any case, you don't really care about screen resolution as much as 
you care about component size, correct?  Look at ComponentListener, it 
can receive an event when the component changes size. (assuming you add 
it to the correct component :-) )

-- 
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Screen Resolution "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
  Re: Screen Resolution "Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
    Re: Screen Resolution "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
      Re: Screen Resolution "Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
        Re: Screen Resolution "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
          Re: Screen Resolution "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
            Re: Screen Resolution "Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
        Re: Screen Resolution "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
        Re: Screen Resolution "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000

csiph-web