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

Thread: Need help with simple Scheduling program

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    3
    My Mood
    Stressed
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need help with simple Scheduling program

    Hello, new to the forum. I'd like to be honest here firstly. I am an English major and I'm taking a java class that I've gotten very behind in due to having to write several lengthy essays a week, job, etc. I need to have this small project done by thursday and I'm really not too sure where to begin. Below are the guidelines I am supposed to follow. Any help would be greatly appreciated. Thanks.

    • GUI to prompt user for appropriate information & display output
    • GUI that contains at least three Components (such as Text Fields, Check Boxes, Buttons, List Box, Combo Box……...)
    • Use of File Input & Output
    • Use of Exception Handling
    • Use of Decision Control (if-else, switch, for loop, do while, or while loops)
    • If you have more than one Window/Screen for your GUI app then include Navigation to and from each window


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,714
    My Mood
    Mellow
    Thanks
    172
    Thanked 622 Times in 609 Posts

    Default Re: Need help with simple Scheduling program

    Most non-engineering majors don't get assignments like this, even the science types who have to take a programming course. Is this the first programming/Java course you've taken? There's no way we can catch you up. You'll have to do that. I'm sure you already have the textbook and class lectures/notes, but you can also use the Oracle Tutorials as a reference.

    It's interesting you'd call this "simple" and that there's no mention what the program does in the specs you posted, but don't post more. It won't matter.

  3. #3
    Junior Member
    Join Date
    Dec 2013
    Posts
    3
    My Mood
    Stressed
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Re: Need help with simple Scheduling program

    Quote Originally Posted by GregBrannon View Post
    Most non-engineering majors don't get assignments like this, even the science types who have to take a programming course. Is this the first programming/Java course you've taken? There's no way we can catch you up. You'll have to do that. I'm sure you already have the textbook and class lectures/notes, but you can also use the Oracle Tutorials as a reference.

    It's interesting you'd call this "simple" and that there's no mention what the program does in the specs you posted, but don't post more. It won't matter.
    Well, thanks for being honest.

  4. #4
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,616
    Thanks
    25
    Thanked 321 Times in 299 Posts

    Default Re: Need help with simple Scheduling program

    To expand a little on this to help more, I will try to clarify what the guidelines are wanting. I will provide important tutorial links. You may need to go backwards in the tutorial pages to gain some context for some of them.

    Guidelines 1,2, and 6 are all mentioning GUIs. Here is Oracle's basic GUI tutorial: Using Top-Level Containers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
    A GUI starts with the frame (unless it's an applet or something, but for you, I would recommend a simple java application with a JFrame). How to use Frames can be found here: How to Make Frames (Main Windows) (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
    It then mentions the use of three components. Most applications will use Text Fields, Buttons, and Labels (although I'm not sure if your professor is including labels as one of your three components), so you should start by researching those. Tutorials for text fields and buttons can be found here: How to Use Text Fields (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components) and here: How to Use Buttons, Check Boxes, and Radio Buttons (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
    Look into the other types of components to find your third.

    Guideline #3 mentions File IO (input and output). It is a big topic, but very easy once you understand it. That tutorial can be found here: Reading, Writing, and Creating Files (The Java™ Tutorials > Essential Classes > Basic I/O)

    Guideline #4 mentions Exception Handling. It is another big, but easy topic (once you understand it) and will go hand-in-hand with #3. You will probably cover this requirement when doing the File IO. Regardless, that tutorial is here: Lesson: Exceptions (The Java™ Tutorials > Essential Classes)

    Guideline #5 mentions decision control. It is nearly impossible to not include this in a program. The big ones for that group are if-else statements: The if-then and if-then-else Statements (The Java™ Tutorials > Learning the Java Language > Language Basics) and loops. As a beginner, I would recommend the for loop: The for Statement (The Java™ Tutorials > Learning the Java Language > Language Basics) or the while loop: The while and do-while Statements (The Java™ Tutorials > Learning the Java Language > Language Basics)
    The do-while loop can be confusing to beginners, so try to just look at the while loop examples for now.

    After you read through the tutorials and get a better idea, feel free to ask about anything you may be confused about.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  5. #5
    Junior Member
    Join Date
    Dec 2013
    Posts
    3
    My Mood
    Stressed
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need help with simple Scheduling program

    Wow! Thanks for this! I will take a look at these. I'll have to see if I can get this done by 2pm tomorrow, when its due

Similar Threads

  1. Scheduling algorithm
    By thesasantos in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 10th, 2012, 08:47 AM
  2. Scheduling Problem
    By pmg in forum What's Wrong With My Code?
    Replies: 2
    Last Post: February 19th, 2011, 08:26 PM
  3. Help in Scheduling please????
    By touches in forum Algorithms & Recursion
    Replies: 2
    Last Post: October 20th, 2010, 07:41 AM
  4. urgent simple help for a very simple program
    By albukhari87 in forum Java Applets
    Replies: 4
    Last Post: June 5th, 2010, 03:43 PM
  5. Replies: 1
    Last Post: March 18th, 2009, 06:21 AM