FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 429 : using extends sometimes hoses the applet size
Last modified: 2006-11-03 20:31
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
430
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
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
***