Warning: session_start(): open(/var/lib/php/sessions/sess_ej1sqmo5e40p9a104jvura67j9, 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
abstract sclass AbstractLayoutManager implements LayoutManager {
public void addLayoutComponent(String name, Component comp) {}
public void removeLayoutComponent(Component comp) {}
public Dimension preferredLayoutSize(Container parent) {
print("preferredLayoutSize called");
ret new Dimension(100, 100);
}
public Dimension minimumLayoutSize(Container parent) {
print("minimumLayoutSize called");
ret new Dimension(10, 10);
}
}
p-substance {
JPanel panel = new JPanel(new AbstractLayoutManager {
public void layoutContainer(Container parent) {
print("layoutContainer called");
int y = 10;
for (Component c : parent.getComponents()) {
int h = c.getPreferredSize().height;
c.setBounds(10, y, 300, h);
y += h + 10;
}
}
});
for i to 10:
panel.add(jtextfield());
showFrame(jscroll_centered(panel));
}