BrokenReferencesAlertPanel should have some UI to show BrokenReferencesCustomizer in its place, or to directly resolve problems (esp. DEFINABLE_LIBRARY). Currently the user has to close the alert dialog and then locate the context menu item, which is cumbersome. Bug #195206 is related.
Would require an API change since BrokenReferencesSupport.showAlert lacks the parameters needed by showCustomizer.

The API change is simple. I've already done it.
The question is the UI design of the panel. The panel shows just once for all broken projects, but the fixing of references is project sensitive. Should it provide list of broken projects with Fix button opening the BrokenRefCustomizer or should it be a tree or should it just try the automatic fix using the LibraryDefiner?

> try the automatic fix using the LibraryDefiner?
Are you saying that this would allow us to fix the JUnit case without adding complicated UI? I personally would rather see a simple/minimalistic UI that fixes the JUnit case, than a complicated UI that fixes everything.

Yes. But If you have 2 projects one missing junit, second missing junit and for example bcel. You press "Fix broken references" it will magically fix the first project and junit from second one while keeping the second broken. But not sure what is better. Jano, have you got an opinion about this?

Yesterday I started redesigning the current warning for Broken References to show all the broken references in all projects. Essentially, I wanted to merge the warning with Resolve Broken References dialog and in order to do it, it had to contain all projects with broken references.
I haven't finished it yet and it seems like a too big change for 7.0. If you feel like we can do this for 7.0, I'll try to finish the design.
I proposed a simple version that would simply open the first project with reference problems (if there are multiple such projects). My understanding is that if it downloads the JUnit library, all projects with the same reference problem to JUnit library will get fixed automatically. See the proposal (scroll to Open Project):
http://wiki.netbeans.org/wiki/images/e/eb/Junit-license-issue.pdf

David designed the following UI:
The "Resolve" button will show the BrokenRefrencePanel where all broken refs from all open project will be merged. The dialog will show the project names for each entry. When a reference will be resolved the UI will be refreshed.

Tomasi, what you described sounds good to me. Just to make sure I understand. The list is grouped by broken references, each item also displaying names of projects where the actual reference is broken. Correct?
If you have something ready to look at, please send me screenshots. I would like to review it. Thanks!