Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2001 18:52:46 +0400
From:      "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>
To:        freebsd-java@freebsd.org
Subject:   Re: jdk 1.3.1 and .resizeable(false)
Message-ID:  <20010901185246.D7086@snark.ptc.spbu.ru>
In-Reply-To: <20010901143930.H26376@mad.hazardous.org>; from "Felix Kronlage" on Sat, Sep 01, 2001 at 14:39:30
References:  <20010901143930.H26376@mad.hazardous.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 01, 2001 at 14:39:30 +0200, Felix Kronlage wrote:

> somehow Swing-Components (JFrame for example) end up being 1 x 1
> (thus not really visible) if they're set to be resizeable(false).
> The same happens on my Free and on my OpenBSD box with the
> linux-jdk1.3.1 .  Is this a known-issue? (any work-around except for
> setting the components on resizeable(true) ?)

Try setting setResizable(false) before a peer is created (nb: pack()
calls addNotify).  Also try another window manager - AWT really sucks
in the WM department.  I think Enlightenment or WindowMaker might give
good results.

PS: Can you check if the problem exists in jdk1.4 beta2?

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?20010901185246.D7086>