Hi all,
I'm testing a simple program with kaffe-1.1.5:
it draws some lines, and on PC it works correctly:
on my porting on MIPS machine, it do not show
anything: from what I have seen, the function
paint is not called: does anyone have an idea
where to check to verify why the function paint
is not called? (even if I add a label it is not
shown: it seems that everything in the frame is
not shown!)
Follows my test code:
thanks
giammy
import java.awt.*;
public class Hello extends Frame {
public static void main(String argv[])
{
new Hello();
}
public void paint(Graphics g)
{
System.out.println(Hello: paint);
g.drawLine(25, 10, 150, 80);
g.drawArc(225, 10, 150, 80, 90, 135);
g.setColor(Color.green);
g.fillRect(25, 110, 150, 80);
}
public Hello() {
super(Hello World!);
setSize(500, 500);
// map the widgets
//show();
setVisible(true);
}
}
--
Gianluca Moro Visit http://ilpinguino.altervista.org/
[EMAIL PROTECTED] MyBlog http://blog.libero.it/giangiammy/
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe