Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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.
 
 
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 ?