• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swing 1.1(URgent)

 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
can anybody give very simple code of Swing 1.1 which have either TextBox or Label?
Also, do I need HTML Converter & Java Plugins to run applet of Swing 1.1?
Thanks in advance,
Angela
 
Suneel Setlur
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Angela
Following is a simple Swing code with Text boxes and buttons.

Hope you can understand.
For your second query....
You only need to write the same applet code tag for even a
JApplet and as usual can view it in appletviewer.
Regards
Suneel
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks Suneel,
Angela
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Angela,
i agree with suneel that you can view your swing applet in appletrviewer .
but to run it in a browser u'll need to convert your html code using html converter. this coverted html will download the plugin required to view the swing applet in a browser.
and downloading this plugin can be quite time consuming so in case u r going for some live project then think twice before using swing applet.

regards
deekasha

[This message has been edited by deekasha gunwant (edited January 24, 2001).]
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks deekasha and suneel,
Angela
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!