ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | jawe List | May 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [jawe] JaWE with dual head


Thanks, the code is already included in JaWE's CVS.

Sasa.

----- Original Message ----- 
From: "Dirk Hoffmann" <dh.replies@xxxxxx>
To: <jawe@xxxxxxxxxxxxx>
Sent: Tuesday, May 25, 2004 2:36 PM
Subject: [jawe] JaWE with dual head


> Hello,
> 
> I'm using two monitors to display one logical screen. The shark clients 
> as well as jawe start with a window using almost the entire logical 
> screen. I modified the code to use only the first monitor. Here are the 
> changes:
> 
> In methods
> 
> org.webdocwf.util.jawe.Utils.center()
> 
> and
> 
> org.webdocwf.util.jawe.JaWE.init()
> 
> replace
> 
> Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
> 
> with
> 
> Dimension screenSize =
>           GraphicsEnvironment
>               .getLocalGraphicsEnvironment()
>               .getDefaultScreenDevice()
>               .getDefaultConfiguration()
>               .getBounds()
>               .getSize();
> 
> Hopefully someone may find this useful
> 
> regards
> Dirk
> 
> 
> 


--------------------------------------------------------------------------------


> 
> --
> You receive this message as a subscriber of the jawe@xxxxxxxxxxxxx mailing 
> list.
> To unsubscribe: mailto:jawe-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> 





<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.