This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Packages" Watch "Packages" New topic



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?
Please Help!
Nathan Pruett

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!

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Consider Paul's rocket mass heater.
subject: Packages