public class DebugMethods
extends java.lang.Object
| Constructor and Description |
|---|
DebugMethods() |
| Modifier and Type | Method and Description |
|---|---|
static void |
doCleanupStuff(boolean doSwingCleanup)
It seems this is the sequence of things needed to achieve
full garbage collection/cleanup of JFrame stuff (Java 1.4.2):
GC and finalization, 2 dummy frames, do the SwingCleanup hack,
and once again GC and finalization.
|
static void |
waitReturn()
prints out "PRESS RETURN TO CONTINUE",
and after return is pressed,
prints then "OK, continuing" and returns.
|
static void |
waitReturnLoop(boolean force)
Repeatedly checks whether now all tracked objects are gone.
|
public static void doCleanupStuff(boolean doSwingCleanup)
doSwingCleanup - Whether to call the swingCleanup() methodpublic static void waitReturn()
public static void waitReturnLoop(boolean force)
force - Go into loop even if allGone already returns true at begin