Can I create a complete application without using the swing? [closed]

1

I'm creating a system and a question has arisen!

Could you create forms without using Swing, AWT or the basic libraries in Java? If I use another framework, can I leave out the Swing, AWT etc?

What better framework to work with today?

    
asked by anonymous 08.07.2017 / 16:38

1 answer

3

Nothing prevents you from using a lot of System.out.println and System.in to make your system. There are also several ways to not use Swing and AWT, such as re-creating the equivalent of them using Qt in Java , SDL in Java or something like that.

Another thing is that Android and Java ME also have graphical interfaces made entirely out of AWT and Swing.

It's also noticeable that we currently have JavaFX (although it uses large parts of Swing underneath the cloths).

Another possibility is to work with web interfaces with HTML5 and javascript and use Java on the server side. If it is for a web solution, you can use JSP, JSF, primefaces, GWT or several other web frameworks available for this.

However, the big point of this is to know why you do not want to use AWT and / or Swing? What case do you have in mind that makes them unserviceable to what you want?

Asking what the best framework is is a merely opinionated question: what I consider the best may not be what you consider. Also, without specifying details about the system you want to build, this question is too generic to be answered constructively and objectively.

    
08.07.2017 / 18:05