From owner-freebsd-java@FreeBSD.ORG Fri Oct 7 15:17:01 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E73F516A41F for ; Fri, 7 Oct 2005 15:17:01 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47CC743D45 for ; Fri, 7 Oct 2005 15:17:00 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.1.5] (unknown [218.20.157.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id 0091938CB66 for ; Fri, 7 Oct 2005 23:16:51 +0800 (CST) Message-ID: <43469160.4050303@gddsn.org.cn> Date: Fri, 07 Oct 2005 23:16:48 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050912) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: java Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: Subject: jdk15 and window manager X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 15:17:02 -0000 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