Results 1 to 3 of 3
  1. #1
    überfuzz is offline Member
    Join Date
    Feb 2011
    Posts
    43
    Rep Power
    0

    Default compiling in subfolders

    I'm doing a school project, a symbolic calculator. At the moment there's about 30 classes/files. Is it possible to arrange them in a nicer way then just jamming them in the same folder? If so, how do I get this info to the compiler.

    I have different tree structures an example would be something like this.
    Java Code:
    Main_class
    Level_one
    Level_two
    Level_three1, Level_three2, etc

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    Take a look at package. You can use them to create a namespace to hold your various classes.
    Look in the Java tutorial for some details: The Really Big Index

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,360
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by überfuzz View Post
    I'm doing a school project, a symbolic calculator.
    I'm interested; what exactly do you mean by 'symbolic' calculator?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Compiling error
    By robbierut in forum Java Applets
    Replies: 4
    Last Post: 11-24-2010, 05:00 PM
  2. how to get compiling
    By philgrek in forum New To Java
    Replies: 1
    Last Post: 05-25-2010, 11:53 PM
  3. folder-subfolders, get data
    By Questionmark in forum Advanced Java
    Replies: 17
    Last Post: 11-08-2009, 06:27 PM
  4. Replies: 3
    Last Post: 09-26-2008, 06:05 PM
  5. note while compiling
    By j2vdk in forum New To Java
    Replies: 3
    Last Post: 09-03-2008, 11:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •