From owner-freebsd-java  Tue Aug 27  2:11:56 2002
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 23E8037B400
	for <freebsd-java@freebsd.org>; Tue, 27 Aug 2002 02:11:55 -0700 (PDT)
Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C242843E6E
	for <freebsd-java@freebsd.org>; Tue, 27 Aug 2002 02:11:54 -0700 (PDT)
	(envelope-from absinthe@pobox.com)
Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com)
	by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 17jcNg-0002CK-00; Tue, 27 Aug 2002 02:11:24 -0700
Content-Type: text/plain;
  charset="iso-8859-1"
From: Dylan Carlson <absinthe@pobox.com>
Reply-To: absinthe@pobox.com
To: Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>,
	freebsd-java@freebsd.org
Subject: Re: Wrong size windows for Swing app (problem)
Date: Tue, 27 Aug 2002 05:11:42 -0400
User-Agent: KMail/1.4.2
References: <20020827023741.GB69027@dogma.freebsd-uk.eu.org>
In-Reply-To: <20020827023741.GB69027@dogma.freebsd-uk.eu.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <200208270511.42776.absinthe@pobox.com>
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-java.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java>
X-Loop: FreeBSD.org

On Monday 26 August 2002 10:37pm, Jonathon McKitrick wrote:
> This could be something simple.  Almost every Swing app I run on my
> windowmanager, FluxBox, based on BlackBox, the window comes up either far
> too small or almost minimized.  Any idea what this could be?
>
> Is this a Swing problem or more likely a WM problem?

It's a WM problem.  I run FluxBox too, I occasionally have the same issues.  
You will also note that it's almost impossible to resize Java windows 
sometimes.  I suspect that it has to do with the window border size.   

Here's my workaround for the latter issue -- use tabs.  Size up another app 
window the size you want your Java app window ... drag the tab for your Java 
app over to that (use your 3rd mouse button) ... and it will inherit the size 
of the app you drag it to.

Cheers,
-- 
Dylan Carlson [absinthe@pobox.com]

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message