Bug 205 : Applet window disappearing right after run when a library is imported;
Last modified: 2005-11-09 21:39




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

 

Reporter:
Ricard
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-11-09 09:57
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 Ricard 2005-11-09 09:58
Wanted to add that this happens with revision 95, haven't tried other
revisions.



[code]
// Just a test, (ignore please)
[\code]
Additional Comment #2 From fry 2005-11-09 11:05


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