Description: The main ideas of Java and .NET code integration described in [4] where I showed an example of embedding .NET GUI components into Java interface. For anybody who is not familiar with Object-Oriented JNI for .NET, I recommend reading this article first. Description of Windows Presentation Foundation (WPF) can be found in MSDN, special manuals and is also not discussed in this article. WPF Module used in my example (without sources) was borrowed from [1]. Here I set out only with the task of embedding WMF Component into Java GUI.
To Search:
File list (Check if you may need any files):
JavaHostWPF_src
...............\JavaHostWPF.suo
...............\JavaHostWPF_DotNET
...............\..................\CalendarControl.cs
...............\..................\CalendarControl.Designer.cs
...............\..................\CalendarControl.resx
...............\..................\com_oojni_CalendarContainerJNINImpl.cs
...............\..................\com_oojni_CalendarContainerJNIProxy.cs
...............\..................\com_oojni_WPFContainerJNINImpl.cs
...............\..................\com_oojni_WPFContainerJNIProxy.cs
...............\..................\Demo
...............\..................\....\JavaHostWPF.jar
...............\..................\JavaHostWPF.csproj
...............\..................\JavaHostWPF.csproj.user
...............\..................\JavaHostWPF.sln
...............\..................\JavaHostWPF.suo
...............\..................\java_awt_CanvasJNIProxy.cs
...............\..................\Properties
...............\..................\..........\AssemblyInfo.cs
...............\..................\WPFControl.cs
...............\..................\WPFControl.Designer.cs
...............\..................\WPFControl.resx
...............\..................\WPFControls.dll
...............\JavaHostWPF_Eclipse
...............\...................\.classpath
...............\...................\.project
...............\...................\.settings
...............\...................\.........\org.eclipse.jdt.core.prefs
...............\...................\.........\org.eclipse.jdt.ui.prefs
...............\...................\com
...............\...................\...\oojni
...............\...................\...\.....\CalendarContainer.java
...............\...................\...\.....\JavaHostWPF.java
...............\...................\...\.....\WPFContainer.java