From owner-freebsd-java Thu Aug 30 7:26:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by hub.freebsd.org (Postfix) with ESMTP id 8980037B401 for ; Thu, 30 Aug 2001 07:26:12 -0700 (PDT) (envelope-from uwe@snark.ptc.spbu.ru) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id SAA06150 for java@FreeBSD.ORG; Thu, 30 Aug 2001 18:25:54 +0400 (MSD) Date: Thu, 30 Aug 2001 18:25:54 +0400 From: "Valeriy E. Ushakov" To: java@FreeBSD.ORG Subject: Re: jdk1.3.1 socket problem Message-ID: <20010830182553.C4842@snark.ptc.spbu.ru> References: <01083015524802.00551@firstbase.westbay.fa.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: ; from "Mikhail Kruk" on Thu, Aug 30, 2001 at 10:08:35 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 30, 2001 at 10:08:35 -0400, Mikhail Kruk wrote: > > > Basic complain is that Swing's setResizable and setLocation > > > methods screw stuff up. (both in JFrame and JDialog AFAIK) > > > > I've witnessed strange happenings with Linux-jdk1.3.1 when pack() follows > > setResizable(false) on KDE. > > Just tried that with fvwm2 and result didn't change. I don't have > time to try other wm's now. The problem is that AWT has this concept of "insets" that was borrowed from win32 (window rect vs. client rect.) and it is *absolutely* foreign to X11 where the "insets" are WM decorations. So WM-related code in AWT goes through a lot of hoops and guesswork to emulate the "insets" and that code only really works for some WMs. Gory details are in awt_TopLevel.c (have the barf bag readied). SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message