how to run java class at run time

I want to make a program in wich a "swing" class ( a GUI- form - ) pops up at a specific time. How can i do this?

Comments

  • : I want to make a program in wich a "swing" class ( a GUI- form - ) pops up at a specific time. How can i do this?
    :

    Using java.util.Date, System.currentTimeMillis and Thread.sleep

    As to how you launch it, that's OS specific - under WIN32, create a startup menu shortcut to [b]javaw.exe ...rest of command[/b]; under Linux look at bash.rc and use the ampersand "&" method of launching background processes.

    ---------------------------------
    [size=1]HOWTO ask questions: http://catb.org/~esr/faqs/smart-questions.html[/size]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion