Example: PropertyName property

This script displays a message box with the PropertyName in the title and the class it belongs to in the message.

Sub Test (myProperty As JavaProperty)
' JClass property of JavaProperty is
' an instance of JavaClass
MessageBox "Belongs to " & myProperty.JClass.ClassName & _
	" Class",, "Property " & myProperty.PropertyName
End Sub