Alternatives to Java Swing [closed]

0

As some may already know, Oracle has stopped the development of the popular graphical interface library Swing . I consider as a relatively incipient technology to replace Swing , for which I would like to know other Java libraries (that are not JavaFX) capable of replacing Swing .

I would like to mainly consider the following characteristics:

  • Ease of learning
  • Ability to create complex interfaces
  • Ease of integration
  • Portability
  • Documentation
  • Developer community size (Community support)
  • Paid support (from the company or individual that develops it)
  • Indicative of their maturity

The ideal would be to migrate the code with swing to the technology they are discussing.

    
asked by Ruslan López 23.01.2016 в 16:04
source

2 answers

4

You call JavaFX "incipient", nothing is further from reality. Today, the alternative to Swing that the community uses the most, is JavaFX . JavaFX is the replacement for Swing and provides you with new features such as:

  • FXML
  • MVC
  • Low cohesion
  • Customizable via CSS
  • Among others

As the views of JavaFX made in XML code called FXML and a controller class that controls the events of that view, it provides us with an undocked programming model in advance. , which facilitates the development of the MVC pattern.

The views are made with Scene Builder before packaged by Oracle, now by Gluon strong>. In addition, it supports a good number of CSS styles, being able to leave your views as if they were web pages. You can also use a photoshop image as a view.

The fact that people are so accustomed to Swing that they do not want to move to JavaFX does not mean that it is "incipient". Quite a few demonstrations have already been made of the power of JavaFX.

    
answered by 24.01.2016 в 14:08
1

AjaxSwing

I have found among the alternatives one that stands out:

AjaxSwing from the Creamtec company regarding the parameters:

  • You do not need a big learning curve since you export from swing
  • Capable of complex interfaces
  • It's easy to integrate
  • It has a very high portability
  • has several manuals
  • Unfortunately you have a small community that fortunately is compensated by paid support
  • In the demos an intermediate degree of maturity is observed

Dukescript

If a free option is desired, in a few months a new proposal will be announced by the staff developing dukescript

According to the whitepaper they promise:

  • promises low learning curve, although the interface would have to be partially redone.
  • plenty of capacity for complex interfaces using e
  • You will have a book to document it
  • the community is very small which presents a disadvantage in adoption
  • It has an intermediate degree of maturity, because at the moment the technology Dukescript has support for development only in and .
answered by 23.01.2016 в 19:21