Help running an application with java
publicvoid actionPerformed(ActionEvent event)
{
if (event.getActionCommand().equals("Application"))
{
getContentPane().runApplication(Application);
}
}
What would replace "runApplication(Application)"?
Thanks.
publicvoid actionPerformed(ActionEvent event)
{
if (event.getActionCommand().equals("Application"))
{
getContentPane().runApplication(Application);
}
}
What would replace "runApplication(Application)"?
Thanks.
What on earth are you trying to do with that code?
Do you just want to execute an external application via java, such as with the Runtime.exec() method?
try {
Runtime.getRuntime().exec(...);
} catch ( ... )
Something similar to that?