Search:

Type: Posts; User: CrestaMan

Search: Search took 0.12 seconds.

  1. Replies
    12
    Views
    1,746

    Re: Where does the program start?

    heres the chunk of code in question


    public void readSettings() {

    try{
    // Open the file that is the first
    // command line parameter
    ...
  2. Replies
    12
    Views
    1,746

    Re: Where does the program start?

    Ok the main method in my code displays the java swing frame but all I want to do is call one method before to read in some setting from a text file so they can be displayed when the frame is made...
  3. Replies
    12
    Views
    1,746

    Re: Where does the program start?

    I have declared it a public static void but now netbeans complains about all the variables I am using

    non-static variable xxxxx cannot be referenced from a static context
  4. Replies
    12
    Views
    1,746

    Re: Where does the program start?

    I have tried private static void somerouine() but netbeans compalined :-(

    Java is by far the hardest language I have had to learn and I just can't get to grips with it's structure.

    any way how...
  5. Replies
    12
    Views
    1,746

    Re: Where does the program start?

    yes I want to call it from within the main method, I call call it from a button click ok but it needs to be called when the code starts.
  6. Replies
    12
    Views
    1,746

    Where does the program start?

    Hi all,
    I am a newbie to java and hence I have been using online examples to learn how to code java. One big problem I am having is where in the code does the program actually start. I have a java...
Results 1 to 6 of 6