When will the transition from Java to Javascript be complete?
Show older comments
It's been nearly ten years since MATLAB began to transition from Java to Javascript graphics. Is there any roadmap for when this transition will be complete? Long ago I was told that the final product would be seemless, i.e. traditional graphic commands would invoke Javascript yet otherwise function like the legacy Java version. Despite many improvements in the new system, the two are still quite different. The difference is most obvious on Mac systems, where uifigures are clearly handled separately from figures. I have stayed with traditional figures for most of this period, waiting for the Javascript alternative to mature, but this is no longer viable due to frequent crashes (as described here).
Recent experence suggests that uifigures are almost ready for general use, but there are a number of missing features. For me, the big ones are limited export options (e.g., improper size scaling for PDF) and the lack of an Extent property; the latter helps size items based on the text held inside them. If I had those features, I could justify the time investment in switching over to uifigures full time. There are also a lot of undocumented things, such as the fact that classic uicontrols can go inside Javascript uifigures, even though the formal documentation says otherwise. I wish Mathworks would be more forthright about this substantial change, focusing less on Live Editor and App Designer updates in each release.
6 Comments
dpb
on 27 Jul 2024
" I wish Mathworks would be more ... focusing less on Live Editor and App Designer updates in each release."
Amen, brother! There are many more core issues with HG2 and graphics in general that are far more important than fancy gewgaw UI stuff that mostly just gets in the way of actual base productive coding/problem solving instead focusing on "pretty" instead.
Adam Danz
on 31 Jul 2024
Edited: Steven Lord
on 31 Jul 2024
Download it here: https://www.mathworks.com/matlabcentral/fileexchange/119593
[SL: fixed typo]
Adam Danz
on 31 Jul 2024
@Daniel Dolan, could you provide an example of the missing extent property you mentioned in uifigures? I'm not quit sure what this is referring to.
Daniel Dolan
on 31 Jul 2024
Adam Danz
on 31 Jul 2024
Thank for the clarification!
dpb
on 31 Jul 2024
And note the date on that thread is four years ago, so not like it's something new...just exacerbated by the changeover.
Accepted Answer
More Answers (1)
Walter Roberson
on 27 Jul 2024
Edited: Walter Roberson
on 27 Jul 2024
2 votes
When will the transition from Java to Javascript be complete?
19 January 2038
4 Comments
dpb
on 27 Jul 2024
Or, the 12th of Never...
Daniel Dolan
on 30 Jul 2024
dpb
on 30 Jul 2024
Very, very rare for Mathworks to comment on either features or timetables, so it's not likely, but there's always that first time/chance.
Submitting bug reports every time you run into one of these issues is the only way to bring things to the attention of official Mathworks support.
Walter Roberson
on 30 Jul 2024
Is there any roadmap for when this transition will be complete?
There is no public roadmap for when the transition will be complete. Any internal roadmap that Mathworks has would be only approximate.
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!