Download free stock photos on Dreamstime. Free registration

Reply LinkBack Thread Tools Search this Thread
Old 03-06-2009, 02:18   #1 (permalink)
jaypaul
Registered User
 
Join Date: Jun 2009
Location: US
Posts: 3
Question About .Java File in Module

Hi Friends,

I need to avoid placing all the things into one big source. So I'd like to place
the different elements into separate modules.

Ideally, I would like a separate .java file for each module: tile engine, vm and graphics.

so, I'm confused about that how I could do that. Could anybody give me any hints or tips on how to do this ?

also i'd like to tell you that I'm working with Net Beans but Not sure if that has anything to do with it.

your answers would be helpful.

Thanks
Paul
  Reply With Quote
Old 03-06-2009, 04:13   #2 (permalink)
Synook
What happened?
 
Synook's Avatar
 
Join Date: Jul 2008
Posts: 1,895
You have all your source files in one package (Netbeans does this automatically). Have one classes in each package, and then you can just reference them from other files automatically, as they are all in the same package.
__________________
Web developer • AspektasBlogTwitter


  Reply With Quote
Old 04-06-2009, 07:51   #3 (permalink)
sarajs
Senior Member
 
sarajs's Avatar
 
Join Date: Jun 2007
Location: Essex
Posts: 870
Send a message via MSN to sarajs
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive
Web Hosting by Heart Internet, vBulletin © 2000-2009 Jelsoft Enterprises Limited.
Search Engine Optimization by vBSEO 3.0.0 RC8
Web Hosting by Heart Internet