Your display name doesn't sound particularly real. We have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Please take a moment to change it, which you can do right here.
As to your question, a browser will load applets from the same host where the HTML page containing the applet tag came from. It can't be from somewhere else. Is that what you're asking?
Ok i changed my name, but if i load full page and remove with DOM some elements which i dont need and render it with some web browser element? But with listeners i thought, is it possible to make the mouse coordinates and simulate mouse click, i know it's possible with WinApi, but i haven't seen in java. Oh now i remember there is class Robot, but how has it made their mouse move and clicks ? :roll:
Joined: Mar 22, 2005
Thanks for fixing your display name.
Unfortunately, the rest of your post confused me even more. You don't mention applets any more - is there still one?
What I understand is this: You have (or want) an HTML rendering component in a Java application. Through that you load some HTML page, which you then want to modify (remove some elements). Correct so far?
Then you want to simulate mouse clicks - on what? What is the mouse click targeted at?
Please check it out. You can find examples and code snippets from the above mentioned developer's page.