• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Swing 1.1(URgent)

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanks Suneel,
Angela
 
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanks deekasha and suneel,
Angela
 
reply
    Bookmark Topic Watch Topic
  • New Topic