This is already done everywhere javacomponent is still used (eg. brainstorm3/toolbox/gui/figure_mri.m at master · brainstorm-tools/brainstorm3 · GitHub), except for the connectivity graphs, since its future was not clearly established at the time I coded bst_javacomponent.
Now we know we should have a replacement for figure_connect.m in a few months, we can simply hide the javacomponent warning in the same way: Bugfix: Hide javacomponent warning for figure_connect · brainstorm-tools/brainstorm3@8caf970 · GitHub
Actually, this doesn't work with Bst figures for some reason
What do you mean?
You still get these messages for:
- which figures?
- which version of Matlab?
- which OS?