Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » IFRAME inside Browser Widget
IFRAME inside Browser Widget [message #446258] Mon, 22 November 2004 22:01 Go to next message
Kalman Hazins is currently offline Kalman HazinsFriend
Messages: 76
Registered: July 2009
Hi, all.

Is it possible to have an <IFRAME> inside the Browser Widget? When I try to
use it - it opens up its own page.

Any ideas?

- Kalman
Re: IFRAME inside Browser Widget [message #446304 is a reply to message #446258] Tue, 23 November 2004 13:20 Go to previous message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
Works here. Regular links open inside the iframe. Please paste details or
open a PR with simple code to reproduce.

import org.eclipse.swt.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.browser.*;

public class PRBrowser {

public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
Browser browser = new Browser(shell, SWT.NONE);
src=\" ket-PC.html\"></iframe></body></html>");;

while (!shell.isDisposed()) {
if (!display.readAndDispatch())
Previous Topic:SWT Table: split and scroll?
Next Topic:Any documentation about Properties in SWT?
Goto Forum:

Current Time: Sun Oct 25 02:27:57 GMT 2020

Powered by FUDForum. Page generated in 0.01454 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top