-----BEGIN PGP SIGNED MESSAGE-----

Hello!

Linux: SuSE Linux 5.2
Kernel: 2.0.35
LibC: libc.so.5.4.44
JDK: 1.1.6v2 (from java-linux.org)
Processor: AMD K6-233
With and without Motif 2.0
WindowManager: KDE 1.0
X-Server: XFree86 Version 3.3.2
RAM: 64MB
Swap: 128MB

The following (also attached for convenience) program works with JDK1.1.3, but
not with JDK1.1.6. It should create two frames.

JDK 1.1.3 (from SuSE): Both frames appear
JDK 1.1.6: Both frames appear, flicker a bit and the second frame disappears
        Sometimes I get messages about Bogus free memory and unallocated memory,
        but not in this small sample.

It seems to be the 'setResizable( false )' that makes the problems. If I omit
it, everything works fine.

I found two other differences:
1. The fonts used for Buttons, Menubars etc. are different, but this could be
due to the SuSE-version.

2. When using Swing 1.0.2, Menus dont display right. If you make a frame and
attach a menubar to it, then select a menu, the upcoming popupmenu will be
displayed over the menubar. Once you move the whole window the first time with
the mouse, everything works fine. This happens with every Swing-application I
have (FreeBuilder, Swing-Demos coming with Swing etc.). I can provide
short examples for this, if you want.

Im not subscribed to the list anymore, so please reply directly.

Kurt

- ---------- cut here -----------
import java.awt.Frame;

class JDK116Bug {
        public static void main( String argv[] ) {
                Frame a = new Frame();
                a.setSize( 50, 50 );
                a.show();

                Frame b = new Frame();
                b.setSize( 50, 50 );
                b.setResizable( false );        // this line causes trouble!
                b.show();
        }
}
- ---------- cut here ----------

- ---------------------------------------------------------------------------
Samba was detected as "Samba" by WinNT 4.0 Workstation and PageMaker 6.5
was slow like hell. Now I managed to have it detected as "WinNT 4.1 Server"
and it's much faster.                  (Ein Schelm, wer Boeses dabei denkt)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQBVAwUBNcbV3UcqiS0id3pJAQGEjQH7BVQTX+ejN/2AiLhJ/DxPL4XWQyZAtXi/
gUwYTp+I7QkuN96k4j9dEquHUM2x9UUUEnn0+2TjBw08qq6RhnloYg==
=of2x
-----END PGP SIGNATURE-----
import java.awt.Frame;

class JDK116Bug {
	public static void main( String argv[] ) {
		Frame a = new Frame();
		a.setSize( 50, 50 );
		a.show();

		Frame b = new Frame();
		b.setSize( 50, 50 );
		b.setResizable( false );	// this line causes trouble!
		b.show();
	}
}

Reply via email to