Message-ID: <1651376608.15.1394397021337.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_14_1030461088.1394397021336" ------=_Part_14_1030461088.1394397021336 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
You can use IKVM to access your boo assemblies from java or access ja= va classes from boo.
This example shows how to run booish from java:=20
This uses IKVM's IKVM.GNU.CLASSPATH.dll which wraps java's standard libr= aries:=20 =20
This AWT example still needs some work. I don't think Java's Swing will = work with IKVM though. However, there is an open source clone of Swing call= ed SwingWT that will work with IKVM.=20 =20
If you have a copy of Visual Studio .NET 2003 or 2005, you can install a= nd run the JLCA tool from Microsoft t= o convert java code to C# code. This will even do things like convert "= ;getWidth/setWidth" methods into properties, and convert java swing st= uff into windows.forms code. It generates a report listing any specific iss= ues it had with the conversion, as well as including the same notes as comm= ents in the generated files.=20
You can then use the online cod= e converter tool used by SharpDevelop to convert the generated C# code = into boo code. Comments are preserved throughout both the JLCA and SharpDev= elop conversions.=20
This may be a better option than IKVM for example if the java app uses j= ava swing (which IKVM cannot run), or if you want to convert the source so = that the application can be optimized for the .NET/Mono platform.