Warning: session_start(): open(/var/lib/php/sessions/sess_he3ht0t8feoh3g4449l9ddjf6q, 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 JFrame makeFrame() {
ret makeFrame((Component) null);
}
static JFrame makeFrame(O content) {
ret makeFrame(programTitle(), content);
}
static JFrame makeFrame(S title) {
ret makeFrame(title, null);
}
static JFrame makeFrame(S title, O content) {
ret makeFrame(title, content, true);
}
static JFrame makeFrame(fS title, fO content, final bool showIt) {
ret (JFrame) swing(func {
if (getFrame(content) != null)
ret setFrameTitle((Component) content, title);
final JFrame frame = new JFrame(title);
if (content != null)
frame.getContentPane().add(wrap(content));
frame.setBounds(300, 100, 500, 400);
if (showIt)
frame.setVisible(true);
//callOpt(content, "requestFocus");
//exitOnFrameClose(frame);
// standard right-click behavior on titles
if (isSubstanceLAF())
titlePopupMenu(frame,
voidfunc(JPopupMenu menu) {
bool alwaysOnTop = frame.isAlwaysOnTop();
menu.add(jmenuItem("Restart Program", f restart));
menu.add(jmenuItem("Show Console", f showConsole));
menu.add(jCheckBoxMenuItem("Always On Top", alwaysOnTop, r {
toggleAlwaysOnTop(frame) }));
menu.add(jCheckBoxMenuItem("Shoot Window", r { showImage("Window Shot", shootWindow(frame)) }
});
ret frame;
});
}