Java Interactions

Asked

Viewed 87 times

-3

Good morning to all dear programmers.

I’m recently starting the JAVA language, I wonder if it is possible to perform as in javascript user interactivity with the software.

Like an Hover that blurs an image, or changes the color of an object, something in this sense. I come from the web language used javascript, css and html and it is very easy to perform these procedures in this language.

1 answer

2


You can even. When developing in Java for Desktop it is possible to create different interactions with the user since there is the concept of windows that are built in Java even then has many functions that create these effects. Except that in the Web Java serves as a backend language, that is, running on the server and transparent to the user, so the role of interaction is Javascript, CSS, etc.

Java on the web will even serve to process the data and make the logic. Interaction with the user is usually not the focus of Java for the web.

For Java Desktop it is quite common to use Swing or Javafx (newer) features and Ides like Eclipse and Netbeans let you create the screens just by "dragging and dropping", so you can only worry about the logic behind.

Browser other questions tagged

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