[3217] in java-interest

home help back first fref pref prev next nref lref last post

Q: Top level frame layout?

daemon@ATHENA.MIT.EDU (Zhibiao Wu)
Fri Nov 3 13:03:37 1995

To: java-interest@java.sun.com
Date: Fri, 3 Nov 1995 10:49:00 -0500 (EST)
From: "Zhibiao Wu" <wzb@unagi1k.cis.upenn.edu>


I am using beta verion to write a simple top level popup window
outside the browser. I use the following code:

	import java.awt.*;
	public class WaveView extends java.applet.Applet {
	public void init() {
        Frame f = new Frame("WaveView");
	f.reshape(10,10,245,445);
	f.show();
        }
        }

The result is strange. The main window move to (10,10) and inside the
window, the gray frame also move another (10,10). Anyone know how to
prevent this? Thanks.

-Wu




-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post