Examples: IsUsingJavaElement property

Clicking on this button will display a messagebox indicating if the current component is a Java-based view or outline.

Sub Click(Source As Button)
Dim uiws As New NotesUIWorkspace
If (uiws.IsInCompositeApp) Then
	If (uiws.IsUsingJavaElement) Then
		Msgbox "This is a Java-based component"
	Else
		Msgbox "This is not a Java-based component"
	End If
Else
	Msgbox "This is not a component in a composite application"
End If
End Sub