Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Simple packaging question.

807588Mar 9 2009 — edited Mar 9 2009
Okay I know NOTHING about packaging, so i have a simple little question. Say, i have a folder called "server", and in this folder, i have a file named "client". "client" is getting a little big, like 300kb, so I need to separate it into multiple classes. In "server" there is a folder names "pkt" and inside "pkt" is a class named "newMapArea", which contains the method "Objects()". Now say, I wanted to call "Objects()" from inside "client", how would you go about that? At first i thought it would just be "pkt.newMapArea.Objects()" but nothing is ever that simple. How do you do it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2009
Added on Mar 9 2009
44 comments
345 views