Java Swing

Hi ,I have a very intreseting question for you guys out thereCan any one tell me, weather Java Swing components like Buttons and text fields with HTML Pages.....Neti
[200 byte] By [gneti] at [2007-9-26 1:34:45]
# 1
The only way you can use Swing components on web pages is by adding them to a JApplet, which would mean the user has to download the Java Plug-in to view it.
artntek at 2007-6-29 2:18:17 > top of Java-index,Archived Forums,Swing...
# 2
hey are you 100 % sureB' cos this is very important to me.I know what you said is correct but just cross checkingThanks Neti
gneti at 2007-6-29 2:18:17 > top of Java-index,Archived Forums,Swing...
# 3
A web page is basically a text file that gets interpreted by a web browser. You cannot put java objects such as swing buttons directly into an html page - they can only be presented within a java top-level container, such as an applet (JApplet) or a separate popup Frame/JFrame/window.
artntek at 2007-6-29 2:18:17 > top of Java-index,Archived Forums,Swing...
# 4

One way of giving the *illusion* that you are showing Swing components in a browser is to use WebCream, a product marketed by Cream Tec:

http://www.creamtec.com/webcream

This allows you to run a Swing app on your server and it converts the GUI to HTML/DHTML and sends it to the client - so the client gets something that looks similar to your Swing GUI, but made from HTML + JavaScript. Don't forget - the code is not running on the client's machine, so response will be slower...

I've never tried WebCream, but it looks intersting.

artntek at 2007-6-29 2:18:17 > top of Java-index,Archived Forums,Swing...