[1652] in java-interest

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

drawing in a window in a frame

daemon@ATHENA.MIT.EDU (Colin B. Boatwright)
Wed Sep 13 05:54:09 1995

Date: Wed, 13 Sep 1995 02:07:57 -0400 (EDT)
From: "Colin B. Boatwright" <colin@nando.net>
To: java-interest@java.sun.com
In-Reply-To: <199509130403.VAA15101@well.com>


Me again. Has anyone drawn an object (paint3DRect, drawString, drawImage, 
etc.) i na window in a frame? For example:

blah blah blah {

   super(server, true, null, 550, 300, Color.lightGray);

   Window top  = new Window(this, "Northeast",  Color.blue, 300, 150);
   top.paint3DRect(10,10,10,10,false,true);
   top.drawImage(icon, 0, 0);
}

No-go. I also tried:

Graphics g = new Graphics(top);
g.drawImage(icon,0,0);
g.setForeground(Color.red);
g.paint3DRect(10,10,10,10,false,true);


Any help would be great,
Colin

------------------------------------------------------------------------------
Colin B. Boatwright | 919/836-5772 Voice | http://www.nando.net
Colin@NandO.net     | 919/836-2814 Fax   | New Media Division
NandO.net Developer | 919/414-3020 Cell  | McClatchy Newspapers Inc.


-
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