is it possible to import a complete applet straight into a GUI. I have tried a number of ways including converting the applet into a standalone application. However, it still does not seem to work.
Although you may not think your name is important, I would think some people do. Maybe your parents? Wife, Husband, Girlfriend, Boyfriend? Someone thinks your name is important. What do people call you? Now, with that being said, Javaranch doesn't really care what your name is either. We just want something that appears to be a legitimate first and last name. Nothing obvisouly fictitious. And Prince has already done the symbol thing, plus, there is no way to make a symbol for your name appear on Javaranch. So, if you could, please read the Naming Policy and adjust your Display Name accordingly. You can change your display name here. Thanks and welcome to the Ranch! [ November 19, 2003: Message edited by: Gregg Bolinger ]
Brian Pipa
Ranch Hand
Joined: Sep 29, 2003
Posts: 299
posted
0
There are a few ways to do it. For some code examples, download LinkBrowser 1.2 from http://touchgraph.sourceforge.net/index.html it is an applet and an application that share the same code. Basically, all the components are added to a main panel and in the applet case, the constructor is called with the JApplet as a parameter and in the application case, the constructor is called with the JFrame as a parameter. Looking at that code should get you on the right track. I have also recently seen (though I don't know the URL) a free (and possibly open source) utility that will run any applet as an application. Google for it and you may find it. Brian