Warning: session_start(): open(/var/lib/php/sessions/sess_b9alcbjurhm50sthkhna3tiqak, 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
lib 1011954
import jexer.*;
import jexer.backend.SwingBackend;
sclass MyApplication extends TApplication {
*() throws UnsupportedEncodingException {
super(isHeadless() ? BackendType.XTERM : BackendType.SWING);
if (getBackend() instanceof SwingBackend)
((SwingBackend) getBackend()).setFont(loadFont(#1012116));
// Create standard menus for File and Window
addFileMenu();
addWindowMenu();
addWindow(new MyWindow(this));
}
}
sclass MyWindow extends TWindow {
*(TApplication application) {
super(application, "My Window", 30, 20);
addLabel("This is a label", 5, 3);
addField(5, 5, 20, false, "enter text here");
addButton("Press &Me!", 5, 8, new TAction() {
public void DO() {
MyWindow.this.messageBox("Box Title", "You pressed me, yay!");
}
});
}
}
p {
startThread(new MyApplication);
}