일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- ibsheet
- tomcat
- Google Map
- MySQL
- Spring
- 선택적조인
- 가우스
- WebLogic
- Android
- dock
- PHP
- sencha touch
- 전자정부프레임워크
- PLSQL
- MFC
- Eclipse
- JDOM
- node.js
- oracle
- GPS
- appspresso
- phonegap
- rowspan
- iBATIS
- JSON
- Struts
- swingx
- Ajax
- jQuery
- jsr 296
Archives
- Today
- Total
Where The Streets Have No Name
docking frames 예제(1-1) 본문
private void initDockFrontend() {
DockController controller = new DockController();
DockFrontend frontend = new DockFrontend(controller, getFrame());
SplitDockStation station = new SplitDockStation();
getFrame().add(station.getComponent());
frontend.addRoot("station", station);
SplitDockGrid grid = new SplitDockGrid();
grid.addDockable(0, 0, 1, 1, createDockable("Red", Color.RED));
grid.addDockable(0, 1, 1, 1, createDockable("Green", Color.GREEN));
grid.addDockable(1, 0, 1, 1, createDockable("Blue", Color.BLUE));
grid.addDockable(1, 1, 1, 1, createDockable("Yellow", Color.YELLOW));
station.dropTree(grid.toTree());
controller.setTheme(new EclipseTheme());
controller.getProperties().set(EclipseTheme.TAB_PAINTER, RectGradientPainter.FACTORY);
}