// TODO test
static AppletViewer showAppletViewerWith(final Applet applet, final Map<String, String> parameters) {
final AppletViewer viewer = newViewer(applet, parameters);
execute(new GuiTask() {
protected void executeInEDT() {
viewer.pack();
viewer.setVisible(true);
}
});
pause(new Condition("new AppletViewer to be showing") {
public boolean test() {