Can I create a full app without using swing?

Asked

Viewed 70 times

1

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

Can I create forms without using Swing, AWT or the basic libraries in Java? If I use another framework, I can set aside Swing, AWT etc?

What better framework to work with today?

1 answer

3


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

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

It is also noteworthy that we currently have Javafx (although it uses large parts of Swing underneath the cloths).

Another possibility is to work with HTML5 and javascript web interfaces 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 it.

However, the big point of this is why you don’t want to use AWT and/or Swing? Which case do you have in mind that makes them inseparable from what you want?

Asking which is the best framework is a merely opinionated question: what I consider the best might 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.

  • Better framework we can assume in numbers of downloads or popularity, and also flexibility, but want to know the most flexible even, the dynamics of the use influences changes, that was the reason of the question, because I know that many shared and ready elements of java do not allow any change. I want to have greater autonomy in my project and with the swing or awt I will not have this flexibility.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.