ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | jawe List | May 2004 Index

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

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




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

Reply via email to:

Powered by MHonArc.

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