JScrollPane jsp = new JScrollPane(tree,
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
jsp.putClientProperty(
LafWidget.COMPONENT_PREVIEW_PAINTER,
new DefaultPreviewPainter());
disposableDialog.setLayout(new BorderLayout());
disposableDialog.add(jsp, BorderLayout.CENTER);
disposableDialog.setSize(200, 100);