Warning: session_start(): open(/var/lib/php/sessions/sess_lmemq50khhetg6u0srtqsfdph5, 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
please include function flatInfoBox.
static int flatInfoBox_topRightCorner_x = 50;
static int flatInfoBox_topRightCorner_y = 5;
static JWindow flatInfoBox_topRightCorner(S text) {
ret flatInfoBox_topRightCorner(text, flatInfoBox_defaultTime);
}
static JWindow flatInfoBox_topRightCorner(final S text, final double seconds) {
print(text);
ret flatInfoBox_topRightCorner_noprint(text, seconds);
}
static JWindow flatInfoBox_topRightCorner_noprint(S text) {
ret flatInfoBox_topRightCorner_noprint(text, flatInfoBox_defaultTime);
}
static JWindow flatInfoBox_topRightCorner_noprint(final S text, final double seconds) {
logQuotedWithDate(infoBoxesLogFile(), text);
if (isHeadless()) null;
ret (JWindow) swingAndWait(func {
final JWindow window = showWindow(flatInfoBox_makePanel(text));
window.pack();
window.setBounds(screenWidth()-window.getWidth()-flatInfoBox_topRightCorner_x, flatInfoBox_topRightCorner_y, window.getWidth(), window.getHeight());
if (flatInfoBox_alwaysOnTop)
window.setAlwaysOnTop(true);
window.setVisible(true);
disposeWindowAfter(iround(seconds*1000), window);
ret window;
});
/*ret moveToTopRightCorner(flatInfoBox_topRightCorner_x, flatInfoBox_topRightCorner_y,
packWindow(flatInfoBox_noprint(text, flatInfoBox_defaultTime)));*/
}