Hi Kumar,

  I don't believe there's a way to find out the coordinatest of
  orbitrary native window from Java, but if you have those
  coordinates somehow, you can use java.awt.Robot class to do the
  screen capture (see java.awt.Robot.createScreenCapture method).

  For example, you can make your native app's window maximize and then
  capture the whole screen.

  Thank you,
    Dmitri

On Wed, Oct 15, 2003 at 05:56:09PM -0700, Kumar Mettu wrote:
 >
 > Hi,
 >
 >  I am trying to capture current active window screen dimension (this can be
 > any application like M$ word, Netscape) from a java program running in the
 > background.
 >
 >  Is this possible? If so how?
 >
 > Basically if M$ word is my current active appliction I need to capture
 > start x,y and end x,y location of Word window in my java program.
 >
 > Thanks,
 > Kumar.
 >
 >
 >
 >
 >
 > Do you Yahoo!?
 > The New Yahoo! Shopping - with improved product search
 >
 > ===========================================================================
 > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 > of the message "signoff JAVA2D-INTEREST".  For general help, send email to
 > [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to