Results 1 to 11 of 11
Like Tree1Likes
  • 1 Post By DarrylBurke

Thread: write program like Northwind pubs....

  1. #1
    moony is offline Member
    Join Date
    May 2012
    Posts
    23
    Rep Power
    0

    Exclamation write program like Northwind pubs....

    Hi all. I have some diificulty in writing Java programm, as I'm beginner.
    I must write programm, which will create a window as:
    Select category:
    1- ....
    2- .....
    3-.....
    4-......
    Then the user click corresponding number (1, 2, 3...), and after that must appear another window with the corresponding subcategories (Like SQL script Northwind examples).

    Can anyone help me with examples???/

    Thank you so much in advance...

    P.S. I work with eclipse.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,879
    Rep Power
    8

    Default Re: write program like Northwind pubs....

    And which part of this is giving you trouble? What have you tried? Where are you stuck? Where is your SSCCE?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    moony is offline Member
    Join Date
    May 2012
    Posts
    23
    Rep Power
    0

    Default Re: write program like Northwind pubs....

    I just don't know how to start... Please give me instruction.

    Thanks for your reply.

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,879
    Rep Power
    8

    Default Re: write program like Northwind pubs....

    Quote Originally Posted by moony View Post
    I just don't know how to start... Please give me instruction.

    Thanks for your reply.
    The Java™ Tutorials
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    moony is offline Member
    Join Date
    May 2012
    Posts
    23
    Rep Power
    0

    Default Re: write program like Northwind pubs....

    Thanks for your advice.
    If it possible, please send a little example.

  6. #6
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,879
    Rep Power
    8

    Default Re: write program like Northwind pubs....

    Quote Originally Posted by moony View Post
    Thanks for your advice.
    If it possible, please send a little example.
    That's not how this works, and it's pretty rude to just ask for code like that. We have no idea what your actual context is, so any code we write would be wasting your time and our time.

    Try something. Try anything. Start with a hello world program, and go from there. Read the tutorials carefully (this should take weeks or months, not minutes or hours). Write example programs. Ask specific questions when you get stuck.

    Good luck.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    moony is offline Member
    Join Date
    May 2012
    Posts
    23
    Rep Power
    0

    Default Re: write program like Northwind pubs....

    OK, thanks....

  8. #8
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: write program like Northwind pubs....

    So, You Need to Write a Program but Don't Know How to Start

    Write a little something, then post your code here and tell us what you don't understand. We'll point you in the right direction!

    Forum Rules
    Guide For New Members
    BB Code List - Java Programming Forum

  9. #9
    moony is offline Member
    Join Date
    May 2012
    Posts
    23
    Rep Power
    0

    Default Re: write program like Northwind pubs....

    Thanks for your attention !
    I just want to know how to create a floating window with categories?

  10. #10
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: write program like Northwind pubs....

    Quote Originally Posted by moony View Post
    Thanks for your attention !
    I just want to know how to create a floating window with categories?
    Quote Originally Posted by quad64bit View Post
    Write a little something, then post your code here and tell us what you don't understand. We'll point you in the right direction!
    What he said.

    db
    quad64bit likes this.
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  11. #11
    moony is offline Member
    Join Date
    May 2012
    Posts
    23
    Rep Power
    0

    Default Re: write program like Northwind pubs....

    Hi all !
    I'm putting the code:
    import java.util.Scanner;

    public class Custom {
    public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    System.out.print("Select category: \n 1- Salads \n 2-Soups \n 3-Hot Dishes \n 4-Dessert \n 5-Juices");

    }
    }

    The user by pressing corresponding number 1, 2, 3, ... must be download another list. How must I do it?

    Thank you in advance !!
    Last edited by moony; 05-28-2012 at 07:06 PM.

Similar Threads

  1. Replies: 7
    Last Post: 11-30-2011, 06:58 PM
  2. Write a program..??
    By QSilver in forum New To Java
    Replies: 7
    Last Post: 02-21-2011, 02:20 PM
  3. trying to write a program for this
    By durdanto in forum New To Java
    Replies: 5
    Last Post: 02-15-2011, 01:27 PM
  4. how can write program for gui
    By pothireddy in forum Advanced Java
    Replies: 9
    Last Post: 11-04-2010, 06:17 AM
  5. Trying to write my own program : /
    By jdicerch in forum New To Java
    Replies: 50
    Last Post: 09-26-2010, 01:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •