FIX: BorderLayout: Cannot Add To Layout: Unknown Constraint (189066)
The information in this article applies to:
- Microsoft Visual J++ 1.0
- Microsoft Visual J++ 1.1
This article was previously published under Q189066 SYMPTOMS
Trying to add a component using the BorderLayout as follows
f.add(button,BorderLayout.CENTER)
generates the following message when trying to execute the Java
Application:
BorderLayout: Cannot add to layout : unknown constraint: Center
RESOLUTION
This problem is fixed with the Jvc.exe that ships with the SDK for Java
versions 2.0x and later.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been corrected in the
Jvc.exe that ships with the SDK for Java version 2.0x and later.
REFERENCES
For more information on how to use the Jvc.exe of SDK for Java from
within Visual J++, please see the following article in the Knowledge Base:
183712 HOWTO: Installation Instructions for SDK for Java
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbbug kbfix KB189066 |
---|
|