Thread: Using JBuilder
View Single Post
  #2 (permalink)  
Old 08-07-2007, 09:03 AM
lenny lenny is offline
Member
 
Join Date: Jul 2007
Posts: 40
lenny is on a distinguished road
Well a package is really nothing more than compiling your source files in a directory (make sure you refer to it in your class path) . The name of the directory will be the name of your package. And of course at the top of each file you will declare it to be in that package like so:

Code:
package directoryname;
and then in your main classes you would import the package
Code:
import directoryname.*;
Reply With Quote