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