Re: [dwm] question about java/swing and dwm

From: Anthony Brown <agabrown_AT_xs4all.nl>
Date: Thu, 31 Aug 2006 22:35:34 +0200

On Thu, Aug 31, 2006 at 06:16:22PM +0200, Anselm R. Garbe wrote:
> On Thu, Aug 31, 2006 at 01:38:41PM +0200, Anthony Brown wrote:
> > I have just installed wmii and there the Java programme does work as I
> > expect it to. I've attached two short pieces of Java code which can be
> > used to reproduce the problem I have. The TestFrames programme simply
> > makes a JFrame with a JComponent inside appear. The component adapter is
> > supposed to report resize events by printing a message to stdout. In DWM
> > I only see a message after startup. No reaction to resizing the window
> > is apparent subsequently.
>
> I can't reproduce this, neither in tiled nor in floating mode, I
> receive dozens of Resized! events on any resize.
>
> This is OpenBSD 3.9 with
>
> ~ $ java -version
> java version "1.5.0-p2"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-p2-_24_aug_2006_14_21)
> Java HotSpot(TM) Client VM (build 1.5.0-p2-_24_aug_2006_14_21, mixed mode)
>
> and
>
> ~ $ X -version
>
> X Window System Version 6.9.0 (for OpenBSD)
> Release Date: 21 December 2005
> X Protocol Version 11, Revision 0, Release 6.9
> Build Operating System: OpenBSD 3.9 i386 [ELF]
> Current Operating System: OpenBSD mmvi.10kloc.org 3.9
> GENERIC#617 i386
> Build Date: 24 August 2006
> Before reporting problems, check http://wiki.X.Org
> to make sure that you have the latest version.
> Module Loader present
>
> Have you checked the issue with a different jdk?

Hi,

I tried with a JDK from IBM and now things work as they should. So it
seems to be a problem with the JDK version I am running:

java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)

Maybe there's a problem specific to the 64bit platform.

Anyway, this means we don't have to waste further time investigating
this problem. Thanks for the help!

cheers,
Anthony
Received on Thu Aug 31 2006 - 22:35:44 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:49 UTC