how to add JFrame in eclipse? [closed]

0

Look what happens before I used netbeans as IDE and it has the JFrame by default, something that the eclipse does not, will there be any way to install it or a similar plugin?

    
asked by ReKeS 14.09.2017 в 21:08
source

2 answers

0

True, Eclipse does not include by default a GUI Builder like the one that does bring the other IDE, but there is the WindowBuilder plugin, to install it go to Help > Install New Software , if you are using Eclipse Neon paste this URL in the Work with text box: link

If you have a version before Neon you can take the URL here: link

After that, you select the WindowBuilder checkbox and proceed with the installation.

    
answered by 14.09.2017 / 23:10
source
0

You just have to create your object:

JFrame frame = new JFrame();

Then place your mouse pointer over JFrame and in the drop-down box choose

Import 'JFrame' (javax.swing)
    
answered by 14.09.2017 в 22:55