A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Mixing Swing & HTML
Joined: Oct 29, 2001
Apr 03, 2002 03:05:00
Is it a poor idea to have, for example, a JOptionPane in the Servletcode. Could it be done?
The problem is that it seems to take forever to execute the
(displaying a html-form), and the JOptionPane never "pops" up!!!???
Joined: Jun 25, 2001
Apr 03, 2002 05:25:00
Not clear what you're asking, but if you expect to embed Swing controls in a servlet, that won't work -
have no GUI. Swing (and AWT) are for Applications and
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Aug 10, 2001
Apr 03, 2002 05:48:00
Tim is right -- the only way to do the thing that I think you're asking is to embed an
tag(whose applet code contains the JOptionPane) in your HTML.
Kyle Brown, Author of
Persistence in the Enterprise
Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at
for other WebSphere information.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Mixing Swing & HTML
Calling JOptionPane in A servlet Class
Align Text in JOptionPane
[B]How To Center/Position a showMessageDialog box?[/B]
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014