Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Oct 2005 12:01:03 +0800
From:      Huang wen hui <hwh@gddsn.org.cn>
To:        java <java@freebsd.org>
Subject:   Re: jdk15 and window manager
Message-ID:  <4347447F.2010801@gddsn.org.cn>
In-Reply-To: <43469160.4050303@gddsn.org.cn>
References:  <43469160.4050303@gddsn.org.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
Huang wen hui дµÀ:

>hi,
>I'am using gnome2 + jdk15-p2 and got two problem:
>
>1. when I use "JDialog.setDefaultLookAndFeelDecorated(true)",
>JOptionPane.showMessageDialg will
>not dislay a visually dialog. The "About" dialog of demo/jfc/Metalworks
>is an example. Disable
>window manager or use twm, Metalworks will be OK.
>
>2. I try to use JBuilder2006+Native jdk1.5-p2, basically It works, but
>sometimes when popup dialog,
>the location and size of dialog are not expected. Sometimes the size of
>dialog will increase *very*
>big. also, if disable window manager, JBuilder will work expectly.
>
>--hwh
>  
>
OK, using Option "-Dawt.toolkit=sun.awt.X11.XToolkit" really help that:)
We should use X11 Toolkit by default.

--hwh




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4347447F.2010801>