This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getting applet's position in the screen  RSS feed

 
Alejandro M Soini
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to get an applet's X,Y coordinates relative to the monitor pixels if this applet is running within a webpage? I can get X,Y coordinates from different components, but the applet itself is in a browser so I have to deal with the browser's toolbar plus any html modifications in the containing webpage. I'm trying to get this so that I can then simulate drag and drop with dynamically accessed coordinates. Any ideas? Thank you. -alex
 
Alejandro M Soini
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...or...is there a way for an applet within a webpage to query its coordinates within the page? i'm pretty stumped
 
Alejandro M Soini
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ehhhh, sorry. found it, feel like a schmoe. getLocationOnScreen().
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!