Bug 204 : Applet window disappearing right after run when a library is imported;
Last modified: 2005-11-26 06:01




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
Ricard
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-11-09 09:56
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
*** Bug 205 has been marked as a duplicate of this bug. ***
Additional Comment #2 From fry 2005-11-09 11:05
*** Bug 206 has been marked as a duplicate of this bug. ***
Additional Comment #3 From fry 2005-11-09 11:06
*** Bug 207 has been marked as a duplicate of this bug. ***
Additional Comment #4 From fry 2005-11-09 11:09
confirmed as a bug.

please don't ever enter a bug four times in the database. one will do just fine.
Additional Comment #5 From fry 2005-11-16 08:22
probably related to bug #210.
Additional Comment #6 From fry 2005-11-26 06:01
fixed for rev 0096.