Search:

Type: Posts; User: davidvee

Search: Search took 0.26 seconds.

  1. Re: Implementing restartApplication method in Java

    I'm not sure what you mean by having the full path. Would it be possible to avoid the getProperty method alltogether by just giving it the String path of my javaBin? I tried changing the line from...
  2. Implementing restartApplication method in Java

    I attempted to implement my own version of a restartApplication method I found on the internet. All I added was the location of my javabin and the location of a jar file for it to relaunch. I also...
  3. Replies
    2
    Views
    275

    Re: If statements not working as planned

    That fixed it thank you.
  4. Replies
    2
    Views
    275

    If statements not working as planned

    I currently have a program that builds a table based on some file information. The table has four columns, red, yellow, blue, and green. If a certain file has the word green in it, then the file's...
  5. Re: Program that Opens/Executes a File on Windows

    Problem solved. I just had to change my array around to:

    {"rundll32", "url.dll,FileProtocolHandler", "C:\\Documents and Settings\\Folder\\Filename"}
  6. Program that Opens/Executes a File on Windows

    I made a program that could open a file on a mac and it worked fine. For some reason when I try it on Windows with this code I receive an error message.


    try{
    Runtime.getRuntime().exec(new...
  7. Re: Converting a Java App to an Applet(with no GUI)

    When I run the program through Eclipse as an application, it works perfectly and prints nothing to the Java console. When I run through Eclipse as an Applet, it opens the Applet Viewer:...
  8. Converting a Java App to an Applet(with no GUI)

    I have a working Java app that can find the most recently created file in a folder. My end goal is to have that app on a web page so when a user opens the web page the page will cause the most...
Results 1 to 8 of 8