-
Applet's visible part
Hi all,
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks