From owner-freebsd-java Mon Mar 2 22:04:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA11652 for freebsd-java-outgoing; Mon, 2 Mar 1998 22:04:35 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from damon.com (YYMZ7VhwyLF3VvuKBfTnZmab0E/PZX8U@damon.com [207.170.114.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA11642; Mon, 2 Mar 1998 22:04:23 -0800 (PST) (envelope-from dap@damon.com) Received: (from dap@localhost) by damon.com (8.8.7/8.8.7) id AAA27796; Tue, 3 Mar 1998 00:04:03 -0600 (CST) (envelope-from dap) From: Damon Permezel Message-Id: <199803030604.AAA27796@damon.com> Subject: Re: Swing 1.0 and jdk-1.1.5 In-Reply-To: <199803030504.WAA26191@mt.sri.com> from Nate Williams at "Mar 2, 98 10:04:02 pm" To: nate@mt.sri.com (Nate Williams) Date: Tue, 3 Mar 1998 00:04:03 -0600 (CST) Cc: dap@damon.com, nate@mt.sri.com, sbb@freegate.com, freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Nate Williams sez: " > > > > Look in the awt_Frame.c code -- there is a diff that the FreeBSD port has > > > > where an allowance for the height of the menu bar isn't being made. This > > > > may have been to fix the behavior with some window managers, but it > > > > looks like it's at the expense of others. > > > > > > Hmm, this code is from Damon's patchkit, so I'm unsure why it was made. > > > Any ideas why you changed this Damon? > > > > Absolutely! > > Without this hack, using fvwm2 window manager, the window would > > appear, jump off to some random location, and would resize itself > > to pretty much 0 width and smallish height. > > Hmm, I've seen that problem with the SWING stuff, but never with the > stock JDK's off a SUN box. (I using fvwm1 on most of the SUN's, and > olwm on the others.) If you want a simple demonstration, undo the change, recompile, run with fvwm, and play "where did my window go". Oh yes, I forgot one other ingredient: recompile/relink with lesstif. > > > I admit to not having had the slightest idea what the code I disabled > > was attempting to do. It changed substantially between 1.1.4 and 1.1.5, and > > it is clear from the all the debug code left in there that whoever was > > making the changes was having some difficulties, and what was released > > probably works OK for MWM, but was totally broken for non-MWM. > > Interestingly enough, the stock SUN code seems to work fine for fvwm, so > I'm not sure why it was changed for FreeBSD. (As have all previous > versions.) Probably the lesstif connexion. Which brings up a good point: I no longer care about lesstif, so if you find that motif doesn't want this change, lets undo it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message