Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Swing back to AWT

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
    Bookmark Topic Watch Topic
  • New Topic