Hi Group;
I am using an applet in my GWT project.
This applet opens a socket connection and send a package to a print.
I am having a problem only using the internet explorer browser.
I have a class that loads the applet. This class extends a
VerticalPanel. In the constructor I have:
public PanelApplet) {
super();
super.add(html);
}
html is a private GWT HTML object.
And when I need to load the applet I do:
html.setHTML("<APPLET CODEBASE=\"applet\" CODE=\"PrintApplet.class\"
ARCHIVE=\"PrintApplet.jar\" WIDTH=400 HEIGHT=70>" +
"<PARAM
NAME=\"address\" VALUE=\"" +
impressao.getEnderecoRede() + "\"></PARAM>" +
"<PARAM
NAME=\"port\" VALUE=\"" + impressao.getPorta() + "\"></
PARAM>" +
"<PARAM
NAME=\"pack\" VALUE=\"" + impressao.getPacote() +
"\"></PARAM>" +
"</APPLET>");
The problem I am having is: If I try to remove the html from the panel
with:
super.remove(html); or
super.remove(0);
Or even if I make the component invisible. Whatever I do, internet
explorer browser executes this applet again and a new package is sent
to the printer.
I don't know what's happening, so it is a littlle hard to try to find
a solution.
This only heppens with internet explorer browser.
I appreciate any help.
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.