Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing back to AWT

 
Charlotte Shearrill
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?
 
Peter Phung
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic