Results 1 to 6 of 6
  1. #1
    ptrasd12 is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Written Java Program in Netbeans won't compile..

    Hello,
    I have written a small Java GUI project.
    I did it in Netbeans.
    But now I am trying to compile to program in Command Prompt, but it won't compile.
    Shows errors.

    I would appreciate any advice.
    I can share the java files, if requested.

  2. #2
    joeyvitoro is offline Member
    Join Date
    Oct 2011
    Posts
    90
    Rep Power
    0

    Default Re: Written Java Program in Netbeans won't compile..

    Please show error messages and java code, if it's small.

  3. #3
    ptrasd12 is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Re: Written Java Program in Netbeans won't compile..

    Hello,
    Thank you for response..
    I have attached the errors.
    I have printed the Screen Image:

    Written Java Program in Netbeans won't compile..-5-errors.jpg

  4. #4
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    12,009
    Rep Power
    20

    Default Re: Written Java Program in Netbeans won't compile..

    mainFrame does not exist in the java file ManagerStudent.java.
    Why?
    I have no idea...

  5. #5
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default Re: Written Java Program in Netbeans won't compile..

    If you would like to get more detailed help with your problem, I suggest posting a Short, Self Contained, Correct Example to get the results you are looking for. This will provide us with the information we need to help you while minimizing the work and confusion on both parties.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,412
    Rep Power
    25

    Default Re: Written Java Program in Netbeans won't compile..

    To copy the contents of the command prompt window:
    Click on Icon in upper left corner
    Select Edit
    Select 'Select All' - The selection will show
    Click in upper left again
    Select Edit and click 'Copy'

    Paste here.

Similar Threads

  1. Change program written with inheritance to composition
    By subiedude101 in forum New To Java
    Replies: 1
    Last Post: 03-21-2011, 02:14 AM
  2. Compile and run a java program through another one
    By z.zojaji in forum Advanced Java
    Replies: 9
    Last Post: 07-15-2010, 07:06 AM
  3. How to compile java program in other than bin directory
    By amritpalpathak in forum New To Java
    Replies: 3
    Last Post: 06-10-2010, 03:14 PM
  4. Compile the java source from netbeans to binary
    By fbnsantos in forum NetBeans
    Replies: 2
    Last Post: 01-06-2009, 04:44 AM
  5. My Java program will not compile and run?
    By sabrown311313 in forum Java Applets
    Replies: 1
    Last Post: 09-23-2008, 09:38 AM

Posting Permissions

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