!7 sS background = #1009946; static JDesktopPane desktop; static JLabel lblInput; static Canvas canvas; p { autoRestart(); gac36k(); // preload nimbus(); desktop = jTiledBackgroundDesktopPane(background); autoFixDesktopPane(desktop); cleanExitOnFrameClose(showMaximizedFrame(desktop)); JInternalFrame f = showCenteredInternalFrame(desktop, "Question", 700, 150, setFontSize(20, centerAndSouth( lblInput = jcenteredlabel(random_gac36k()), jrightalignedline(jbutton("Next", f next))))); f.setLocation(f.getX(), 40); showCenteredInternalFrame(desktop, "Analysis", 600, 400, canvas = new Canvas); analyze(); } svoid next { lblInput.setText(random_gac36k()); analyze(); } svoid analyze { S input = getTextTrim(lblInput); Triple triple = ai_tripelize(input); Web web = webFromTriple(triple); canvas = webToCanvas(web, canvas); }