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


Groups > comp.lang.java.gui > #2797 > unrolled thread

Screen Resolution

Started by"Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this>
First post2011-04-27 15:41 +0000
Last post2011-04-27 15:41 +0000
Articles 5 — 3 participants

Back to article view | Back to comp.lang.java.gui


Contents

  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 "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 "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000

#2797 — Screen Resolution

From"Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
SubjectScreen Resolution
Message-ID<5qga67Fvr3hsU1@mid.dfncis.de>
  To: comp.lang.java.gui
Hello ,

how can i listen to screen's resolution change? 

thanks for your help.

---
 * 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

[toc] | [next] | [standalone]


#2798

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<7b8477fda2baf@uwe>
In reply to#2797
  To: comp.lang.java.gui
Abdelali Adil wrote:
..
>how can i listen to screen's resolution change? 

I do not know of any 'event' fired in case of screen resolution
change, but you might start a Thread (or Runnable or 
javax.swing.Timer) and check the screen resolution against 
a cached 'last known size'.

Why is it important to know?

BTW - the word 'I' should always be uppercase, and each 
sentence should also start with a single upper case letter.

-- 
Andrew Thompson
http://www.physci.org/

Message posted via http://www.javakb.com

---
 * 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

[toc] | [prev] | [next] | [standalone]


#2801

From"Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<5qiggnF10620tU1@mid.dfncis.de>
In reply to#2798
  To: comp.lang.java.gui

> Andrew Thompson wrote:

> Why is it important to know?

 I am writing a GUI without layout manager, this GUI should support 2 
resolutions.
Therefor It could be nice if can listen to a resolution's change.

Thanks

---
 * 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

[toc] | [prev] | [next] | [standalone]


#2802

From"RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<474419af$0$8418$db0fefd9@news.zen.co.uk>
In reply to#2801
  To: comp.lang.java.gui
Abdelali Adil wrote:
> 
>> Andrew Thompson wrote:
> 
> 
>> Why is it important to know?
> 
> 
> I am writing a GUI without layout manager, 

That's interesting. Why are you not using a layout manager?

---
 * 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

[toc] | [prev] | [next] | [standalone]


#2804

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:41 +0000
Message-ID<7b8ba70272019@uwe>
In reply to#2802
  To: comp.lang.java.gui
RedGrittyBrick wrote:
>>> Andrew Thompson wrote:
>> 
>>> Why is it important to know?
>> 
>> I am writing a GUI without layout manager, 
>
>That's interesting. Why are you not using a layout manager?

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'.

-- 
Andrew Thompson
http://www.physci.org/

Message posted via http://www.javakb.com

---
 * 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web