This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Packages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Packages" Watch "Packages" New topic
Author

Packages

Duffer
Greenhorn

Joined: Sep 25, 2002
Posts: 3
Could I please get the steps how to import a user defined package
As i have already created 2-3 classes in one file and would like to turn that in to a package.Also please specify the saving name of the file. Will it be a particular class name defined in the file? if yes which class name? as well as do i need to make an entry in the policytool or anywhere else?
Regards
Please Help!
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

"Duffer" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Documentation on how to create and use packages can be found in the Java Tutorial provided by Sun.

I don't see why this is in the Swing / JFC / AWT forum... I'm moving it to Java in General (Beginner).

Thanks! and welcome to the JavaRanch!


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Packages
 
Similar Threads
The place where we define Annotations inside the EJB Bean class
Access Specifier of class: Guidelines to share..
why .java filename constraint ?
Defining classes in different files
strange case, impossible(maybe)!