I'm learning Java Eclipse and would like to know how to use Swing.
Do I need to install? How does it work?
I'm learning Java Eclipse and would like to know how to use Swing.
Do I need to install? How does it work?
I will try to answer the questions separately. First is the most accurate question.
I need to install, how does it work?
To start learning the swing operation you do not need to install anything. Since you already have JDK installed.
I'll leave a very simple example here with the code that @rray posted, but a little more detailed.
import javax.swing.JOptionPane;
public class Teste {
public static void main(String[] args) {
JOptionPane.showMessageDialog(null, "teste");
}
}
Good evening, I'm learning java eclipse, and would like to know how do I use swing?
Dude, when I first started learning swing, I basically read an excerpt, followed the examples, and then I was looking for what I needed within the java documentation . I think the java documentation part is the most important. Thinking that maybe you had no contact with the documentation, I'll leave a link to the documentation for