Microsoft SDK for Java

needsHeavyPeer

This method of the HeavyComponent Interface is called by a Java object that implements the HeavyComponent interface to request a Win32 window (HWND).

Syntax

public boolean needsHeavyPeer();

Note   The HeavyComponent interface only supports java.awt.Canvas objects.

Return Value

Returns true if the Java object requires a Win32 system window; otherwise, returns false.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.