ship wrote:
> hi, Lothar sir
> As you wrote i had tried. But a error is occured that class can not
> found.
> I had write these lines:
> HTML applet = new HTML();
> panel.add(applet);
>  applet.setHTML("<APPLET code=\"JFileChoose.class\"></applet>");
> I put my class file in classes folder of web.
> I want browse a folder so i write a applet by using JFileChooser. Now
> i want to run this applet on clicking a button. I had tried but after
> clicking on button applet is not run.
> Pl help.
>
> Lothar Kimmeringer wrote:
> > Martin Trummer schrieb:
> > >> HTML applet = new HTML();
> > >> panel.add(applet);
> > >> applet.setHTML("<APPLET src=\"/applets/MyApplet.class\" etc.");
> > >
> > > Yes, but in this case you have to take care that it works in different
> > > browsers, which can become a nightmare:
> >
> > I know that and I assumed that the one asking is aware of that
> > as well. There are established solutions for this (nested
> > OBJECT-APPLET-tags, etc.) or you take advantage of the fact that
> > GWT creates one HTML-file per browser and create the fitting
> > HTML for every specific browser (using the replace-with-directive
> > in the GWT.xml-file).
> >
> > Anyway. Because I don't know if I'm right what "ship" means with
> > "call an applet" I wasn't going into much detail about this.
> >
> >
> > Regards, Lothar
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to