Which TopComponents are open?
If you need to know which TopComponents are opened use the following:
for (TopComponent tc : TopComponent.getRegistry().getOpened()) {
//Code here
}
If you need to know which TopComponents are opened use the following:
for (TopComponent tc : TopComponent.getRegistry().getOpened()) {
//Code here
}