일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- WebLogic
- 가우스
- appspresso
- jsr 296
- JDOM
- Struts
- swingx
- phonegap
- Spring
- oracle
- iBATIS
- Ajax
- PHP
- Android
- 전자정부프레임워크
- jQuery
- GPS
- dock
- PLSQL
- MySQL
- 선택적조인
- ibsheet
- sencha touch
- Eclipse
- Google Map
- MFC
- tomcat
- rowspan
- node.js
- JSON
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);
}