Warning: session_start(): open(/var/lib/php/sessions/sess_did8dvbhf7ij89op10d1ot73ve, 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
static JLabel showSuggestion_current;
// action is called in new thread
static JLabel showSuggestion(fS suggestionText, fO action) {
hideSuggestion();
final int fontSize = 20, buttonFontSize = 15;
final JLabel label = fontSize(fontSize, jCenteredMultiLineLabel(suggestionText));
final VF1 framePost = getThreadLocal(makeFrame_post);
swing {
makeFrame_post.set(or(framePost, vf1_frameAutoRequestFocusFalse()));
JFrame f = alwaysOnTop(showPackedFrameInBottomRightCorner(
withLineBorder(Color.black, withMargin(
centerAndSouth(
label,
withTopMargin(makeFirstButtonBold(fontSizeAll(buttonFontSize, jcenteredbuttons(
"OK", r {
hideSuggestion(label);
callFInNewThread(action);
}, "No", r { hideSuggestion(label) })))))))));
disposeWindowAfter(f, 3.0);
showSuggestion_current = label;
}
ret label;
}