Applet's visible part


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Applet's visible part

  1. #1
    Join Date
    Dec 2003
    Posts
    5

    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)?

  2. #2
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    I don't catch what you're asking. Can you phrase your request in other words, or more descriptive imagery? Explain more fully?

  3. #3
    Join Date
    Dec 2003
    Posts
    5
    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.

  4. #4
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center