From: <gav...@us...> - 2005-07-01 18:22:22
|
Hi, I'm using a Xinerama based dual display. On this environment, JSL=20 centers dialogs over the two displays. I suggest you a one line patch to keep dialogs centered on one display. file JSynthLib/core/Utility.java line 134: replace Dimension screenSize =3D dialog.getToolkit().getScreenSize(); with java.awt.Rectangle screenSize =3D=20 java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWind= owBounds(); Please note that this change requires 1.4 or newer JDK. -- R=E9mi |