I am a newcomer to Java, self taught using the Java tutorials. The trouble about this is that my teacher is an ignoramus as far as Java is concerned. My immediate problem is how to invoke a browser from my Java application.
Thanks in advance
Not the prefered way to do it anymore since Java 6.
look at http://download.oracle.com/javase/6/docs/api/java/awt/Desktop.html, method browse()
Thanks for the tip!
A rather belated message since the E-mail alert sent to me had a screwed-up reply link.
It seems that most of replies in this forum are from the questioner; I am no exception.
The answer is to use the Runtime class; I don't think I would ever have guessed the name Runtime, but I should have tried Googling "Java exec" much earlier.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.