How do I add an IFrameElement inside a widget in GWT?
1 answer
You can use the widget Frame
provided by GWT. GWT wraps IFrameElement
in a widget Frame
. You can use it like any other widget. Next, you can do all the manipulations for the IFrameElement
Frame widget. for example
FlowPanel fp = new FlowPanel();
Frame frame = new Frame("http://www.google.com/");
fp.add(frame);
You can read more about the frame wrapper here: http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/Frame.html
+3
source to share