Date: Thu, 30 Aug 2001 18:25:54 +0400 From: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru> To: java@FreeBSD.ORG Subject: Re: jdk1.3.1 socket problem Message-ID: <20010830182553.C4842@snark.ptc.spbu.ru> In-Reply-To: <Pine.LNX.4.33.0108301004170.7846-100000@daedalus.cs.brandeis.edu>; from "Mikhail Kruk" on Thu, Aug 30, 2001 at 10:08:35 References: <01083015524802.00551@firstbase.westbay.fa.jp> <Pine.LNX.4.33.0108301004170.7846-100000@daedalus.cs.brandeis.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010830182553.C4842>