• 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 back to AWT

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using a swing applet on an intranet application, but the "big guys" don't want to have to install the java2 plug-in on each client. i want to be able to use the browser's default plug-in, but it doesn't support swing. is it possible for me to replace my swing (tree) applet with an AWT applet. i am concerned about treeSelectionListener, treeSelectionEvent, JEditorPane, etc. if it is possible for AWT to replace my functionality, where do i start? and if it is not possible, are there any other suggestions?
 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How have you set up the html page in which your applet is embedded?
I wrote a page which loaded the plugin each time the page was accessed.
Here's the code i used :

HTH
[ July 10, 2002: Message edited by: Peter Phung ]
 
Charlotte Shearrill
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi peter,
thanks for checking this out. however i did set up an HTML as you have shown. my code works great, so i am not having any problems accessing my swing applet. i would like to know if it is possible to re-create an AWT expandable tree with treelisteners, htmlpanes minus using swing classes. how possible is this?
thanks.
charlotte
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic