return UIColors.getDefaultFG();
}
};
pt.expandAll();
PropertyPane pp = new PropertyPane(pt);
JViewport rvp = new JViewport() {
public Color getBackground() {
return UIColors.getDefaultBG();
}
public Color getForeground() {
return UIColors.getDefaultFG();
}
};
((JScrollPane) pp.getPropertyTable().getParent().getParent()).setViewport(rvp);
rvp.setView(pt);
pp.setPreferredSize(new Dimension(400, 400));
return pp;
}