This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes embedding awt frames in HTML........ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "embedding awt frames in HTML........" Watch "embedding awt frames in HTML........" New topic

embedding awt frames in HTML........

george justin

Joined: Jul 31, 2001
Posts: 25
Would somebody help me out and explain how to embedd an AWT (application)frame in a browser window.
Is it actually possible?
george justin
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi George,
No it is not possible. A Frame/Window is a top level item and can't be contained by an Applet.
However, what you can do is to have an applet that launches a Frame/Window. Then your application could use that for it UI.
It is sorta covered in the JavaRanch Style Guide.
subject: embedding awt frames in HTML........
jQuery in Action, 3rd edition