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.

Page 2 of 2 FirstFirst 12
Results 26 to 32 of 32

Thread: Can Somebody check this code?

  1. #26
    Junior Member
    Join Date
    Jan 2012
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can Somebody check this code?

    ok, the problem is my save and load buttons from the GUI wont work ! and how do i make them function ?

    like save and load ! you save a file which means its saved on to the HDD !

    and load the file which a browser opens up and you select the file you want to load or open then when pressed load that file appears on those columns listed .... usually im doing a .txt file ! so nothing complicated ! not using (All Kinds Of Files) !

    Does that answer your question ?

    Or give me suggestions how i can clarify your willing questions to be like ? (type some example questions IF THIS WAS NOT HELPFUL FOR THE HOW MANY TIME NOW) ?!

  2. #27
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Can Somebody check this code?

    You can not execute a program that does not compile without errors. You must fix the compile errors BEFORE you can execute a priogram.
    Have you fixed the compiler error yet?
    Does the program now execute?
    What happens when you execute it?


    Please Edit your post and wrap your code with[code=java]<YOUR CODE HERE>[/code] to get highlighting
    <YOUR CODE HERE>
    Last edited by Norm; January 30th, 2012 at 11:08 AM. Reason: re code tags

  3. #28
    Junior Member
    Join Date
    Jan 2012
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can Somebody check this code?

    If you mean debug file, i already have which what it does ... display bunch of red lines down at the output console in NetBeans !

    The program executes, without those buttons working !

    When I execute the program I see this File Output Demo ScreenShot.jpg !

  4. #29
    Junior Member
    Join Date
    Jan 2012
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can Somebody check this code?

    Yes i have debugged the file ... when i execute the program all bunch of red text is being displayed in the output console down below ...

    I have fixed the compiler error yet ... if you mean GUI opening up after running process ! the rest wont work meaning as those buttons !

    Program executes except those save and load buttons !

    When I execute the program, it displays this File Output Demo ScreenShot.jpg

  5. #30
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Can Somebody check this code?

    The code you posted does NOT compile without errors. Your IDE is fooling you.
    You must fix the compiler errors BEFORE you can execute the program.

    Copy and paste the full text of the compiler's error messages here if you want help fixing them.

    Edit your post and wrap your code with[code=java]<YOUR CODE HERE>[/code] to get highlighting

  6. #31
    Junior Member
    Join Date
    Jan 2012
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can Somebody check this code?

    sorry for posting it double ! i thought my first post didnt went through :S

  7. #32
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Can Somebody check this code?

    bunch of red text is being displayed in the output console down below
    You need to learn how to use your IDE first. It is showing you errors and you don't know how to use the IDE to find out what the errors are and how to fix them.

    Look for a forum for your IDE and find out how to use it.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. How to code "check button"
    By Suni in forum AWT / Java Swing
    Replies: 1
    Last Post: December 28th, 2010, 09:21 AM
  2. Please check the code for the errors
    By nrao in forum What's Wrong With My Code?
    Replies: 9
    Last Post: November 16th, 2010, 05:37 PM
  3. Check this code out
    By jwill22 in forum Java Theory & Questions
    Replies: 4
    Last Post: October 11th, 2010, 08:34 PM
  4. how to check the value
    By javaking in forum Java Servlet
    Replies: 2
    Last Post: July 22nd, 2010, 06:56 AM
  5. Problem in AWT and IFrame implementaion
    By AZBOY2000 in forum What's Wrong With My Code?
    Replies: 9
    Last Post: April 24th, 2009, 03:41 AM