Migrating from the Swing Application Platform (JSR 296)

A few years ago, JSR 296 introduced the environment for building desktop applications in Swing. NetBeans has provided tight integration with the reference implementation. I drank Kool-Aid (r) and created a series of programs from simple statistical calculators with one panel to large multi-window, multi-panel programs for data analysis and modeling.

JSR has since largely declined, and the next version of NetBeans (7.1) will no longer contain support for it. I am looking for tips on how to move this group of existing applications to a new structure.

There seem to be several possible options, including:

And there are others.

Does anyone have experience moving from JSR 296 to one of these alternatives? I would rather not go through the learning curve on all of these if someone else had tried this before.

Besides simply moving the project, can anyone relate their experience to keeping the history of version control during the transition? How about moving the help system? Does this work well?

Thanks for any advice you can provide.

+6
source share
3 answers

BSAF is actively developing, so I would not (and really not) use the plug right from the moment of its birth, since the original was not supported since then :) to see any reason at all not to continue using it.

+2
source

I would make a slightly more decisive proposal, although I swing Swing. Switching to something else will be non-trivial, if you are in Java, I just go to GWT. Given that Oracle is only interested in enterprise Java, and they are a closely commercially oriented company, it certainly follows that Swing will go the same way. We switched to JavaScript directly from Swing for about 5-6 years, the movement in this direction has become very strong over the past 12-18 months.

0
source

You can still develop with (B) SAF in NetBeans 7.2 if you want. At the time of this writing, integration requires an owner. See: http://netbeans.org/bugzilla/show_bug.cgi?id=204661#c59

0
source

Source: https://habr.com/ru/post/903226/


All Articles