BUG: Compilation errors occur in JLCA converted Visual J++ projects that implement Mouse Event methods (819602)
The information in this article applies to:
- Microsoft Visual C# .NET (2003)
- Microsoft Visual J++ 6.0
SYMPTOMSYou have a Visual J++ Microsoft Windows application project that has a
class that implements the following mouse event methods: - MouseMotionListener
- MouseListener
When you convert your Visual J++ project to a Visual C#
.NET project by using the Java Language Conversion Assistant (JLCA) tool, you receive the
following compilation error message: 'System.EventArgs' does
not contain a definition for 'X' 'System.EventArgs' does not contain a
definition for 'Y' CAUSEWhen JLCA converts your Visual J++ project, it converts all
the MouseEvent class objects to System.EventArgs class objects. The problem that is described in the "Symptoms" section occurs because the System.EventArgs class does not have properties named X and Y. Therefore, you receive compilation errors.STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information about Java Language Conversion
Assistant (JLCA), visit the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 1/12/2006 |
---|
Keywords: | kbWindowsForms kberrmsg kbcode kbEvent kbconvert kbJava kbbug KB819602 kbAudDeveloper |
---|
|