[2089] in java-interest

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

awt question

daemon@ATHENA.MIT.EDU (Franklin Schmidt)
Sun Sep 24 11:11:02 1995

Date: Sun, 24 Sep 1995 21:14:00 +0900 (JST)
From: Franklin Schmidt <f@fs.drug.com>
Reply-To: fschmidt@tddc.net
To: java-interest@java.sun.com

//  Why does the label's location change?

import java.awt.*;
import java.applet.Applet;
import java.lang.System;

public class test extends Applet {
    Label label;

    public test() {
        label = new Label("label");
        add(label);
        label.move(50,25);
        System.out.println("ctor "+label.location().x+" "+label.location().y);
    }

    public void start() {
        System.out.println("start "+label.location().x+" "+label.location().y);
    }

}
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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