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

Thread: help please.

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    7
    My Mood
    Relaxed
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help please.

    my prof assign me to make an calculator, its our finals, yes i can make a calculator using switch case if else.. statements, but my prof says its better if i use GUI in java (even he's not teach as that one, because our lessons ends in looping statement xD ) i am studying in advance using google and youtube for clear explanation, but i dont get it , can you give me some basic calculator codes using swing(not applet because
    im so confused on that part of java) and explanation or comment in every line
    for example

    import javax.swing; what is that code for?
    JFrames,
    private JLabels somthing like that, please can u do it for me?
    in our country today is friday, and the date of our submission is on saturday i have 1 day left so please. .help me

    sorry for my english, im bad in that field. .
    Last edited by sephskie; October 13th, 2011 at 12:13 PM.

  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: help please.

    If you don't even know what in import statement does, you should probably start at the basic tutorials: The Java™ Tutorials

    And then when you understand that stuff, move on to Swing: Trail: Graphical User Interfaces (The Java™ Tutorials)

    But those tutorials should take weeks or months to complete, not hours or days.

    Asking people to provide you code is academic dishonesty and will not be tolerated.
    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
    Oct 2011
    Posts
    7
    My Mood
    Relaxed
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: help please.

    Quote Originally Posted by KevinWorkman View Post
    Asking people to provide you code is academic dishonesty and will not be tolerated.
    yeah i know. . for this time i will do simple calculator, i can explain all in switch and if else statements, i cant blame my professor because of not teaching that particular part in gui , but for now i will just do what i know. .
    tnx for your time. . more power javaprogrammingforums