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 2 of 2

Thread: Programming a basic back and forth model?

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Programming a basic back and forth model?

    Hi,

    I'm very much a beginner to programming but was looking to create a simple two class project which I could use some help on.

    At the moment it consists of "Factory" and "Employee" classes, and I've coded some simple methods where "money" is passed between the two. This simulates on the most basic level an employee working at a factory and later spending their money on the factory stock.

    So far, using BlueJ, I can create the objects and manually have them initiate the methods which all works fine. But what I'm trying to do now is automate the process into a basic simulation, so for example I (the user) hit "Run" and the factory/employee objects choose when to start the methods methods themselves. And hopefully this is shown on some sort of visual representation (a table of figures for example).
    After I've got this basic model set up I'm looking to add some complexity to it, but wanted to get the basics done first.

    However...I have no idea how to start this!
    Also I'm only on BlueJ as it's where I learnt the basics, but would it be better to transfer everything to eclipse (or any other platform)?

    Any ideas/suggestions most welcome.
    Thanks,
    Exquiz


  2. #2
    Junior Member
    Join Date
    Jun 2012
    Posts
    29
    Thanks
    2
    Thanked 7 Times in 7 Posts

    Default Re: Programming a basic back and forth model?

    Could you post the original copy of your project so I could understand what exactly you wanted. It looks kind of confusing.

Similar Threads

  1. Need some JAVA basic programming help
    By joregorn in forum Java Theory & Questions
    Replies: 11
    Last Post: March 22nd, 2012, 09:30 PM
  2. Basic Obj programming help! thanks
    By mclaren93 in forum Object Oriented Programming
    Replies: 1
    Last Post: November 17th, 2011, 07:45 PM
  3. creating table model....
    By kollyisrealisaac in forum Java Theory & Questions
    Replies: 1
    Last Post: May 6th, 2011, 10:07 AM
  4. Unstructured Data Model
    By richip in forum Object Oriented Programming
    Replies: 1
    Last Post: March 17th, 2011, 10:25 AM
  5. the problems of psx model ripping
    By wolfgar in forum Java Theory & Questions
    Replies: 4
    Last Post: November 4th, 2009, 07:31 PM