Bug 429 : using extends sometimes hoses the applet size
Last modified: 2006-11-03 20:31




Status:
RESOLVED
Resolution:
DUPLICATE of bug 430
Priority:
P2
Severity:
normal

 

Reporter:
ddf
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2006-11-03 09:25
Processing 0119
Windows XP SP2

When using a class that extends another class, the size of the applet
sometimes gets messed up when running it from the dev environment.

<code>
Foo bar;

void setup()
{
size(600, 400);
frameRate(30);
smooth();
ellipseMode(CENTER_RADIUS);
bar = new Foo();
}

void draw()
{
background(255);
stroke(0);
noFill();
ellipse(width/2, height/2, 5, 5);
}

class Foo extends Object
{
Foo()
{
super();
}
}
</code>
Additional Comment #1 From fry 2006-11-03 20:31


*** This bug has been marked as a duplicate of 430 ***