Search:

Type: Posts; User: homey

Search: Search took 0.23 seconds.

  1. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    first i would like to apologize. i did not notice that there was a second page.
    second, all that i can find is what i posted before
    v
  2. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.jar]
    @="jarfile"


    thats all?
  3. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    assuming its not there because of lack of response after double clicking the file... how might one fix that?
  4. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    thats... confusing. im not sure exactly what that means. i just want to know how to run an executable jar file by double clicking. or is that it?
  5. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    when i right click on a file im not seeing any command lines.
  6. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    i didnt do it casually. had it been my computer, i wouldve been casual.but its my moms computer, so i took the time to do the research on changing/adding path. so i need to find a path entry for jar?
  7. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    start>computer>system properties>advanced system properties>environment variables>System variables> path.
    i have it set so it should know what to do with jar and java files
    C:\Program...
  8. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    here it is.


    C:\Users\Pookie>cd desktop

    C:\Users\Pookie\Desktop>java -jar guess.jar
    ♀i want to play a game, lets play a gusseing game
    i will pick a number between 1 and 100
    you guess the...
  9. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    when i run it in command prompt it runs perfectly. ill still post it though... but i cant seem to copy text from cmd?
    but it works exactly the way i intended it to.
  10. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    windows 7 home premium. i do.it does nothing when double clicked
  11. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    i figured it out. i had to change a setting. sorry. but i still have a question about it. is there a way i can run it just by double clicking it?
  12. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    Re: stand alone

    yes that's what i mean. i've already run it from command prompt. it didn't do anything. i can put it into an executable jar file.
  13. Thread: stand alone

    by homey
    Replies
    27
    Views
    34

    stand alone

    the program in question runs well. my question is how to make it a standalone. i use BlueJ. help please.
    its a simple guessing game. here's the code


    import java.util.Scanner;
    public class...
  14. Replies
    13
    Views
    21

    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...
  15. Replies
    13
    Views
    21

    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?
  16. Replies
    13
    Views
    21

    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...
  17. Replies
    13
    Views
    21

    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?
  18. Replies
    13
    Views
    21

    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...
  19. Replies
    13
    Views
    21

    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 19 of 19