Applet's visible part
I have an Applet (not JApplet). Is it possible to retrieve which part of the applet is visible (not obscured by the explorer)?
I don't catch what you're asking. Can you phrase your request in other words, or more descriptive imagery? Explain more fully?
When put applet in browser, you can resize the browser to hide some part of the applet. So only a part of the applet will be visible to the user.
Is there any way to get the dimensions of this visible part.
So you're trying to query the browser programmatically to report how much of the applet is visible? The applet doesn't know - if just knows that it is supposed to be a certain height and width ... it is the browser which is changing the applet's environment.
Is it so important that you want to display some kind of grid within the applet which will give you a size of the visible portion? That is something you can add to the applet - invoke with a button or a menu choice ...
I don't know of a programmatic method to query the browser for the size of one of its display elements.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center