Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: 1 page object oriented design

  1. #1
    Member
    Join Date
    Oct 2011
    Posts
    40
    My Mood
    Stressed
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default 1 page object oriented design

    I am not sure what to do here, maybe someone can direct me to or help out. I am creating a game and adding a gui interface to it as a lab project for school. My lab instructor has emailed and asked for a "1 page object oriented design" to be turned in to her showing what we're doing.

    I have no idea what that means. I am happy to do the work myself, but I don't even know what this is asking me for. I'd ask her myself, but I never get a response *sigh*.

    Thanks all.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: 1 page object oriented design

    Word to the wise- don't waste time complaining about your instructor. Many people here are self taught, without the help of instructors, schools, classmates, or even these forums.

    But I think you're making it more complicated than it should be. What classes are you planning on writing? What does each class do? How do they fit together?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. The Following User Says Thank You to KevinWorkman For This Useful Post:

    bgroenks96 (November 14th, 2011)

  4. #3
    Member
    Join Date
    Oct 2011
    Posts
    40
    My Mood
    Stressed
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: 1 page object oriented design

    Don't worry, I'm really not interested in complaining about my instructor, I only put that in to avoid any possible "ask your teacher what she wants" responses. Are you saying that it's just more or less a UML diagram?

  5. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: 1 page object oriented design

    Quote Originally Posted by Herah View Post
    Don't worry, I'm really not interested in complaining about my instructor, I only put that in to avoid any possible "ask your teacher what she wants" responses. Are you saying that it's just more or less a UML diagram?
    If my professor asked for a 1-page design, I'd probably explain in text what I was trying to do, with small pictures here and there to demonstrate what I meant. Maybe you could ask some of your fellow students what they're doing for it?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #5
    Member
    Join Date
    Jun 2011
    Posts
    182
    My Mood
    Where
    Thanks
    15
    Thanked 8 Times in 8 Posts

    Default Re: 1 page object oriented design

    Ask yourself a few questions first:

    1) What classes/objects do you plan to create for this program's structure? What will be each object's uses?
    2) Will there be inheritance involved? If so, you can draw up an inheritance tree with object details to show as a polymorphic structure.
    3) What relates to what? Related objects should be kept in individual packages to maintain organization and avoid naming issues. This also allows for tight object to object communication, which is all a true object-oriented program is: objects talking to each other.

  7. #6
    Member
    Join Date
    Oct 2011
    Posts
    40
    My Mood
    Stressed
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: 1 page object oriented design

    Thanks guys, I went with the UML diagram I had already made for the project and added a gui class to it. Should be good enough for now

  8. #7
    Member
    Join Date
    Dec 2011
    Location
    United States
    Posts
    94
    My Mood
    Amused
    Thanks
    5
    Thanked 8 Times in 8 Posts

    Default Re: 1 page object oriented design

    Sounds great there. normally a design is just like a blueprint of your entire project. #Classes, #Members, #methods and relationships between classes. Of course there are classes that have nothing to do with each other but as they said, it depends on what you want to achieve. Hope you made it.

Similar Threads

  1. Object oriented programming
    By jonnitwo in forum Object Oriented Programming
    Replies: 8
    Last Post: September 2nd, 2011, 12:18 PM
  2. Object-oriented mess
    By mjpam in forum Object Oriented Programming
    Replies: 3
    Last Post: May 7th, 2011, 11:27 AM
  3. Object-oriented applet
    By mjpam in forum Object Oriented Programming
    Replies: 26
    Last Post: September 15th, 2010, 06:43 AM
  4. TCP Client Server: Object Oriented
    By nffc luke in forum Object Oriented Programming
    Replies: 2
    Last Post: April 28th, 2010, 06:39 PM
  5. Object Oriented program, no output
    By boardbreaker in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 17th, 2009, 11:11 PM