Thread: Imports
View Single Post
  #2 (permalink)  
Old 09-06-2008, 11:43 PM
Norm's Avatar
Norm Norm is offline
Senior Member
 
Join Date: Jun 2008
Location: SouthWest Missouri, USA
Posts: 2,229
Rep Power: 4
Norm is on a distinguished road
Default
Quote:
but it dosn't work.
Please copy and paste the error messages here.

The import statement is a way to extend the classpath to the location of the class file. The location of the classfile should be at classpath+import-path

What is the (classinformation) you refer to? Do you have an example?

import javax.swing.JFrame;
Where javax.swing is the package and JFrame is the class.
Reply With Quote