FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 206 : Applet window disappearing right after run when a library is imported;
Last modified: 2005-11-09 21:39
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
204
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Ricard
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2005-11-09 09:58
Create a sketch with the following code:
[code]
import processing.opengl.*;
// Initilaize the sketch
size(400,400);
// Choice of colors
background(0);
fill(155,60,0);
stroke(255);
[/code]
Run it. The applet appears and the window disappears right after.
Then try:
[code]
// Initilaize the sketch
size(400,400);
// Choice of colors
background(0);
fill(155,60,0);
stroke(255);
[/code]
or
[code]
int t;
// Initilaize the sketch
size(400,400);
// Choice of colors
background(0);
fill(155,60,0);
stroke(255);
[/code]
Run it. Works correctly.
My guess: it has something to do with the default dispose() method in the
libraries. This problem also happens with my library which doesn't
implement the dispose() method.
Additional Comment
#1 From fry 2005-11-09 11:05
*** This bug has been marked as a duplicate of
204
***