0
import javax.swing. *; What is it and what is it for?
Verify your answer
4 Answers
+ 2
Import javax.swing.* means:
I'll break down every components for you.
Import : it means you want to use or import the packages which has inbuild classes so that you can build you GUI project
Javax: javax is a basic package which has number of classes to make your GUI better
Swing : swing is also one of the package which is stored in javax which has number of classes like jlabel,jtextfield,jbutton,etc.
*: * Is referring that user want all classes which are stored in swing
0
Importing the swing components into your scope
0
Why?
0
In case you need to use any of the swing classes