Thread thread = new Thread(runnable, "Special tree filling thread");
thread.start();
}
private void buildContentPanel(Container cp) {
JXMultiSplitPane msp = new JXMultiSplitPane();
String layoutDef =
"(ROW (COLUMN (LEAF name=tree1 weight=0.34) (LEAF name=tree2 weight=0.33) (LEAF name=tree3 weight=0.33) weight=0.1 ) (LEAF name=view weight=0.8) (LEAF name=labels weight=0.1) )";
MultiSplitLayout.Node modelRoot = MultiSplitLayout.parseModel(layoutDef);
msp.getMultiSplitLayout().setModel(modelRoot);
msp.add(createTreePanel(God.archiveTree = new ArchiveTree()), "tree1");
msp.add(createTreePanel(God.labelTree = new LabelTree()), "tree2");
msp.add(createTreePanel(God.specialsTree = new SpecialTree()), "tree3");
pdfThumbnailZapper = new PdfThumbnailZapper();
msp.add(pdfThumbnailZapper.getComponent(), "view");
JComponent labelComponent = null;
try {
LabelStore labelStore = God.archive;
labelList = new LabelList(God.centralLabelLister, labelStore, this);
labelComponent = labelList.getComponent();
} catch (Exception exception) {
LogUtils.log(exception);
labelComponent = new JLabel("Exception in label reading!");
}
msp.add(labelComponent, "labels");
msp.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));
cp.add(msp, BorderLayout.CENTER);
cp.add(statusbar = new AppStatusBar(), BorderLayout.SOUTH);
}