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: Program layout examples please

  1. #1
    Member
    Join Date
    May 2011
    Location
    west palm beach, FL
    Posts
    189
    My Mood
    Tired
    Thanks
    41
    Thanked 11 Times in 10 Posts

    Default Program layout examples please

    Im not sure if this is the right section if not please move it

    I am having a bit of trouble trying to layout all the stuff i need in some kind of order that makes sense before i start a new program. i was advised i should lay my new programs out on paper before i start to make it easier not to forget something and have to go back. so i was wondering if you all could show me some examples of how you lay out a program on paper before you start the coding to make it

    just trying to get a general idea of how i could lay out my programs with some kind of order to follow...an example of a decently longer program with a GUI if you can just to give me an idea how you would lay it out on paper before you begin

    as always i am very appreciative of your thoughts and help. thanks


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,147
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Program layout examples please

    give me an idea how you would lay it out on paper
    Draw a rectangle representing the frame.
    In side that rectangle draw other rectangles where you want to have a button or a text area or some other components. Continue until you have all the components you need and they're positioned where you want them.

    The layout would depend on the application. Say you are reading a file and writing to another file, you'd need two text fields to put the paths in and two choose buttons to go to a file chooser to select a file for that text field. Then a Compute or Doit button underneath. Perhaps a Stop button if you needed to stop the background task and maybe a Cancel button. The buttons could be in a panel beneath the text fields.

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

    derekxec (July 3rd, 2011)

Similar Threads

  1. Calculator layout problem
    By Choiseymitsu in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 28th, 2011, 08:04 AM
  2. Replies: 1
    Last Post: April 14th, 2011, 07:50 AM
  3. Grid bag layout inside grid bag layout
    By kiddkoder in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 29th, 2011, 08:07 AM
  4. Layout manager
    By kurt-hardy in forum AWT / Java Swing
    Replies: 3
    Last Post: January 19th, 2011, 10:25 AM
  5. My Custom Layout (VERY EASY TO USE)
    By aussiemcgr in forum AWT / Java Swing
    Replies: 10
    Last Post: August 5th, 2010, 01:37 PM