if (node != null) {//dealing with compiler error sheet
Node[] nodes = node.getChildren().getNodes();
PropertySet set[];
if (nodes.length != 0) {
set = nodes[0].getPropertySets();
} else {
set = node.getPropertySets();
}
if (set.length > 0) {
properties = set[0].getProperties();
if(properties.length > 0){
((TreeTableView) jScrollPane1).setProperties(properties);
}
}
mgr.setRootContext(node);
} else if (outputNode != null) {//dealing with output console sheet
PropertySet set[] = outputNode.getPropertySets();
if (set.length > 0) {
properties = set[0].getProperties();
}
try {
((TreeTableView) jScrollPane1).setProperties(properties);