what is import javax.swing.*;
Hi all,
I am new to this, so I would like some friendly help. I need a discription of these ASAP please. what is import javax.swing.*; what is import java.awt.event.*; what is import javax.swing.border.*; what is import java.util.Random; what is import java.util.*; Thanks Dutchman :Pengy: :newbie: :jawa: |
|
On the java import statement:
When you've imported a class from a package, you can refer to the class by name without prefixing said name with the package name. Note that if you import two classes with identical names, the one you import last has precedence. So, if you Code:
import javax.swing.foo; Code:
foo Code:
javax.swing.foo hth --Jonas |
Thanks for the help to the question. It helped me a great deal.
|
Quote:
--Jonas |
All times are GMT -5. The time now is 07:18 PM. |