Warning: session_start(): open(/var/lib/php/sessions/sess_9pprif8ac7vod17vs6lc5oun54, 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 Map makeFrame_myFrames = weakHashMap();
static S makeFrame_defaultIcon;
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 swing(func -> JFrame {
if (getFrame(content) != null)
ret getFrame(setFrameTitle((Component) content, title));
final JFrame frame = new JFrame(title);
if (makeFrame_defaultIcon != null)
setFrameIconLater(frame, makeFrame_defaultIcon);
_initFrame(frame);
JComponent wrapped = wrap(content);
if (wrapped != null)
frame.getContentPane().add(wrapped);
frame.setBounds(defaultNewFrameBounds());
if (showIt)
frame.setVisible(true);
//callOpt(content, "requestFocus");
//exitOnFrameClose(frame);
ret frame;
});
}