Scrappy-related q about ref to Frame

Hello,

Maybe this is more related to java/awt than to scrappy, but someone here might know the answer. If I (in Scrappy) create a java.awt.Frame without having a reference to the created object:
, there seems to be no way to get rid of the window. Or is there? The internal awt-system must have a list of objects, but is this accessible for me?

Bye,
Dag.

2 comments
Comment actions Permalink

You could try the static method Frame.getFrames(). It should work.

Vil.

Dag Welinder wrote:

Hello,

Maybe this is more related to java/awt than to scrappy, but someone here might know the answer. If I (in Scrappy) create a java.awt.Frame without having a reference to the created object:
, there seems to be no way to get rid of the window. Or is there? The internal awt-system must have a list of objects, but is this accessible for me?

Bye,
Dag.


--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

0

Please sign in to leave a comment.