[950] in java-interest
Java Interest: Re: Scrolling & Stuff
daemon@ATHENA.MIT.EDU (Lein Ton)
Tue Aug 15 20:43:52 1995
Date: Tue, 15 Aug 95 17:49:45 -0400
From: Lein Ton <ton@cc.gatech.edu>
To: dmath@cs.wustl.edu, java-interest@java.sun.com
Hi David,
opening a window is demonstrated for example in
http://java.sun.com/archives/java-interest/1003.html
if you add this method a line and a string are drawn.
public void paint() {
setForeground(Color.black);
graphics.drawString("If you want to paint, do it here", 10,10);
graphics.drawLine(10,10,100,100);
super.paint();
}
These two don't scroll; perhaps you can use scrollWindow
for that, but I can remember having difficulties with that.
--
-Lein Ton (ton@cc.gatech.edu)
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com