Solution in a short
------------------------------------
Step1
copy paste this code
import org.jdesktop.layout.GroupLayout;
Step 2
Right click on library->add library->swing layout extension->Add library
that all :-) for screen short explanation
----------------------------------------------------------------------------------------------------
For screen short explanation ...............
Create new jFrame
Right click on Source package->New->JFrame Form
Name the form as you wish
i named it :"form" Click Finish
Now you see An Error
and in Design view it showing "loading"
Now we can got to source code
to see what is the real problem
Solution for the problem
copy paste this code
import org.jdesktop.layout.GroupLayout;
just below the "package......"
Now you can see that the error is not removed ,so importing library will remove it
Right click on library->add library->swing layout extension->Add library
will import it
Now you can see that the error is removed
0 Comments:
Post a Comment