Forums Register Login

JApplet or JFrame ?

+Pie Number of slices to send: Send
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 ?
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
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
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1350 times.
Similar Threads
Is JFrame added to JFrame heavyweight or lightweight?
Making applet work with Swing!
swings and operating System
JApplet in webserver
swing application as a web application
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:08:10.