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

Thread: What exactly is this asking me to do?

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What exactly is this asking me to do?

    Download Instructions.pdf for free on uploading.com

    Those are the instructions for what we are supposed to be doing. I have the GUI setup and everything but is it just supposed to add a particular string into the proper places when Config 1 and 2 and such are pressed? Its so confusing the way its worded. Any help would be appreciated.

  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,172
    My Mood
    Hungover
    Thanks
    141
    Thanked 600 Times in 515 Posts

    Default Re: What exactly is this asking me to do?

    I, for one, don't like to click outside links like that. What wording are you having trouble understanding?

    Recommended reading: Starting Writing a Program
    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. #3
    Junior Member
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: What exactly is this asking me to do?

    Quote Originally Posted by KevinWorkman View Post
    I, for one, don't like to click outside links like that. What wording are you having trouble understanding?

    Recommended reading: Starting Writing a Program
    Yea sorry I could email the file if you want, its kind of hard to explain it all.

    Heres the layout.



    And heres what the configs are.

    2.4.1 The batteries
    Your simulation will include 8 Battery objects:
     Batteries 1 and 2 are of type AA, rechargeable;
     Battery 3 is of type AA, not rechargeable;
     Batteries 4 and 5 are of type AAA, not rechargeable;
     Battery 6 is of type C, rechargeable;
     Batteries 7 and 8 are of type C, not rechargeable.
    2.4.2 The devices
    Your simulation will include 6 devices:
    1. a small flashlight;
    2. a medium flashlight;
    3. a large flashlight;
    4. a radio;
    5. a battery charger;
    6. another battery charger;
    2.4.3 The configurations
    Configuration 1:
    Batteries 1 and 3 in device 2;
    Battery 2 in device 6;
    Battery 6, 7, and 8 in device 4;
    Devices 1, 3, and 4 switched on;
    Device 2 switched off.
    Configuration 2:
    Batteries 1 and 2 in device 2;
    Battery 4 in device 1;
    Battery 6 in device 5;
    Battery 7 in device 4;
    Devices 1 and 2 switched on;
    Devices 3 and 4 switched off.
    Configuration 3:
    Battery 4 in device 1;
    Battery 2 in device 2;
    Battery 6, 7, and 8 in device 3;
    Devices 1, 2, 3, and 4 switched on.
    Configuration 4:
    Batteries 1 and 3 in device 2;
    Battery 5 in device 1;
    Battery 6 in device 6;
    Devices 1 and 3 switched on;
    Devices 2 and 4 switched off.

    Now when the particular buttons are hit does it just need to display that in the right frames? I have no idea

  4. #4
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: What exactly is this asking me to do?

    Hello Xoured. Welcome to the forums.

    You are able to attach files if you click 'Go Advanced' but I would advice against uploading assignment documents and expecting people to read them.

    I take it you know how to write the very basics of a class file?

    Please write some code then post it back here. Take everything one step at a time. Let us know exactly what you are stuck on and we can help break it down into pieces you will understand. If you want quality replies which require effort then you need to show you have made the maximum effort yourself.

    Thank you.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers