English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If it is difficult, will you be willing to do it for me. Please provide your email. If it is easy, can you please tell me instructions.

2007-07-07 13:18:25 · 2 answers · asked by matt56783456 1 in Computers & Internet Programming & Design

2 answers

It depends what your console application does.

You can change your main program into something that's a subclass of Applet fairly easilly. But you may have to change how you get input and how you display output, because the console isn't generally viewed by your users.

And there are lots of things that a console app is allowed to do (connect to servers, poke all over the filesystem) that an applet isn't by default permitted to do. So if your app does those things, you'll have to work within the Applet "sandbox" security restrictions.

2007-07-07 13:47:20 · answer #1 · answered by McFate 7 · 0 0

customarily, this is any opposite course around. a information superhighway internet site working an applet launches a java application. you have and celebration of it indoors the Java JDK / examples / Java2D. For an application to launch an applet, i'm unsure. The appletviewer isn't comparable to the java plug-in embedded in a information superhighway internet site. Java very own laptop (Java 6+) will launch your default browser. Runtime can launch training exterior Java, yet you have broken out of the Java physique and would desire to ought to rigorously evaluate what OS the JRE is working on. it truly is, what java.Runtime.getRuntime().exec(); used to artwork on residing residing house residing house windows XP or Linux will halt on residing residing house residing house windows Vista and residing residing house residing house windows 7. the countless danger is JavaFX which applets/purposes is going to regulate into indoors the on the ingredient of destiny.

2016-10-01 02:45:02 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers