This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
I agree. Here's the link:
subject: Packages
Similar Threads
Defining classes in different files
Access Specifier of class: Guidelines to share..
strange case, impossible(maybe)!
The place where we define Annotations inside the EJB Bean class
why .java filename constraint ?