Warning: session_start(): open(/var/lib/php/sessions/sess_alsslcrkiqdga0icth7orja5su, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
static Canvas canvas;
static CirclesAndLines cal;
sbool commentLayout;
p-subst {
Pair p = showWeb(randomWeb(), 800, 600);
cal = p.a;
canvas = p.b;
doFrameTitle();
addButtonsToWindow2(canvas, "Comment", f comment, "Next", r {
CirclesAndLines newCAL = webToCAL(randomWeb());
canvas = showCAL_2(cal, newCAL, canvas);
doFrameTitle();
});
focusButton(canvas, "Next");
}
svoid doFrameTitle {
frameTitle(canvas, joinNempties(" - ", cal.globalID, quoteIfNempty(cal.title)));
}
svoid comment {
if (commentLayout) ret;
set commentLayout;
cal.scale = 0.5;
JFrame f = getFrame(canvas);
Container cp = f.getContentPane();
new JPanel newCP;
newCP.setLayout(null);
newCP.add(cp);
f.setContentPane(newCP);
revalidate(f);
animateBounds((JComponent) cp,
rect(0, 0, newCP.getWidth(), newCP.getHeight()),
rect(100, 100, 200, 200), 0.4);
}