Results 1 to 3 of 3
  1. #1
    Adr
    Adr is offline Member
    Join Date
    Sep 2012
    Posts
    4
    Rep Power
    0

    Smile Need help with my project in Java class

    Good day guys!
    Can someone here help with my project?
    Our instructor asked us out to make a GUI with java that has a menu.
    The menu contains these submenus: Open a file, Edit the File, and Exit.
    This program should be able to open a text file, edit it and save it.

    This is our first topic in GUIs. And I'm pretty sure I don't have any idea about it since
    im used to CLI. Can someone help me with this?

    Thank you!
    BTW, im using netbeans.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,002
    Rep Power
    20

    Default Re: Need help with my project in Java class

    Where have you got to and where are you stuck?

    Also, do this by hand...don't use a GUI builder as they are usually more pain than they're worth if you don't already know how the GUI framework you are using actually works.

    You're going to want the API (this is Java 6), and find the javax.swing package in the top left block. That'll be useful when you're trying to figure out what certain classes can do.
    And the Swing tutorials, specifically the Swing Components bits (for the parts you'll need), the concurrency part (you might get away without this, but it almost always bites you if you don't know about it), and the layout part (this is easier than it looks).

    Those are what I would call the Swing fundamentals. You don't need to go through the lot, but knowing they're there will at least give you something to refer to if you get stuck.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

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

    Default Re: Need help with my project in Java class

    Also, if and when you have any specific question related to use of Swing, please post it in the AWT/Swing section, preferably with a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates the problem, wrapped in code tags.

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

Similar Threads

  1. Help on project for comp sci class
    By isten23 in forum New To Java
    Replies: 12
    Last Post: 03-27-2012, 06:05 AM
  2. Replies: 6
    Last Post: 03-01-2012, 03:07 PM
  3. Replies: 8
    Last Post: 12-06-2011, 01:14 AM
  4. Help me? Class final project.
    By Blue Energy in forum Advanced Java
    Replies: 2
    Last Post: 05-14-2011, 06:39 AM
  5. Java's Class Final Project - Tower Defense
    By lastpirate89 in forum New To Java
    Replies: 6
    Last Post: 05-11-2011, 03:04 PM

Posting Permissions

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