Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to embed a JApplet in Web-Browser

ritesh r
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Techies:
I want to develop a Web-based application where I would be having a Jtree with the population of Nodes from the Database.
Let me describe my problem.All the components are in Swing.
I am using a JTree-Explorer developed by me using Swing.. with a SplitPane.
And I am populating the JTree using a CORBA-Database Connetivity with my C++ Server implementation.
Now the problem is that I have a Right CLick of my MouseListener Activated to add dynamically some-contents
to my JTree.
So when I click my right-mouse of the Mouse,I am seeing a Popup(just like we see in WINDOWS) having
2-items namely "Add" and "View"
When I click "Add",the Japplet should display the other class containing the components in the lower frame of the Jtree.
Now tell me,how to do this ..How to put a Application(JInternalFrame) in the same Applet Window or I have to convert the JInternalFrame class into a Panel.
Advise me on this as soon as possible.If possible provide me some pointers or Source Code.
Thanking you.
Sincere REgards
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic