mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
21 lines
320 B
Java
21 lines
320 B
Java
class Component {
|
|
void addChild( Component b ) {
|
|
}
|
|
}
|
|
|
|
class Panel extends Component {
|
|
public Panel( Component pNode ) {
|
|
}
|
|
|
|
Panel() {
|
|
}
|
|
}
|
|
|
|
class VerticalPanel extends Panel {
|
|
public VerticalPanel() {
|
|
super( new Component() {{
|
|
addChild( new Panel() );
|
|
}} );
|
|
}
|
|
}
|