Suppose I design a web page (URL) for users, I want users to click on a link and it should pop up a dynamic page including some buttons, etc. I know this poped up dynamic page can be a JApplet. Now is it possible that it can be swing type JFrame ? In other words, is swing only limited to application usage instead of web ?
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted
0
A JApplet is a Swing component. Swing is not limited to application use. Depending on your audience and the components you use, you may run into users that don't have a new enough Java plug-in to run all those Swing widgets.
Thanks for your reply. I tried Dirk's example and it pops an applet first, and the applet can trigger a Frame. Now, I want to make sure of this --- when user clicks a URL link, if it pops up a separate window, then this window can only be a "Applet" or "JApplet", is that right ? Of course, by clicking on something on this applet window it may pop up more "Frame" or "JFrame". But I want to know -- by clicking on a URL link for the first time, can we get a "Frame" or "JFrame" immeditely instead of a "Applet" or "JApplet" ? thanks
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.