Search:

Type: Posts; User: homey

Search: Search took 0.09 seconds.

  1. Replies
    13
    Views
    1,260

    Re: recursion on initialization

    just to make sure i understand, which i believe i do, basically every time something such as


    class ClassOne {
    private ClassTwo two = new ClassTwo();
    }

    is typed, it creates an instance...
  2. Replies
    13
    Views
    1,260

    Re: recursion on initialization

    i separated them by class
    i gave a link to the folder, opened in blujay it contains all of them.
    do you want me to put the entirety of the involved classes in?
  3. Replies
    13
    Views
    1,260

    Re: recursion on initialization

    sorry. i may be a while. i have to get off[COLOR="Silver"]

    --- Update ---


    this is the first actual call and the preceding code

    mainmenu menu = new mainmenu();
    load Load = new...
  4. Replies
    13
    Views
    1,260

    Re: recursion on initialization

    im sorry, i dont quite understand.. the same style of loop as those two classes call appears several times without any such problem
    could you give me an example?
  5. Replies
    13
    Views
    1,260

    Re: recursion on initialization

    java.lang.StackOverflowError
    at failsafe.<init>(failsafe.java:9) ---> public class failsafe
    at mainmenu.<init>(mainmenu.java:16) -----> failsafe choice = new failsafe();
    at...
  6. Replies
    13
    Views
    1,260

    recursion on initialization

    i am trying to make a game, for some reason i have begun to get a java.lang.StackOverflowError.
    im not exactly sure how i can fix it. only removing line 14 from infopannel1 (and everything that used...
Results 1 to 6 of 6