| Unable to get help upon clicking the JLCA //UGRADE_TODO help link (3 replies, VIP) |
| microsoft.public.vsnet.jlca |
| I am using JLCA 3.0 beta... When I click on the JLCA UPGRADE TODO help reference that is inserted into the converted code (see example below) I just get an error: //UPGRADE TODO: Class 'java.io.ObjectOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. 'ms help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword "jlca1073 javaioObjectOutputStream 3"' When I click ... |
|
| java to c# - java to j# which one has more advantages? (2 replies, VIP) |
| microsoft.public.vsnet.jlca |
| hi, We have java source files.we are going to convert the soucrce files into .NET compatible. Convert ths sources to C# or convert the sources to j# which is easier and which one has more advantages than other? Any suggestion .. Regards Ram |
|
| How to write equivalent classes (2 replies, VIP) |
| microsoft.public.vsnet.jlca |
| Hi, C# does not have any equivalent classes/ interfaces for the following. Classes i)java.util.zip.ZipOutputStream ii)java.util.PropertyResourceBundle iii)java.io.StreamTokenizer iv)java.text.SimpleDateFormat Interfaces i)java.beans.PropertyChangeListener ii)java.applet.AppletContext iii)java.applet.AppletStub How to convert the java sources which are using the above classes/interfaces to c# sourc... |
|
| java applets conversion (2 replies, VIP) |
| microsoft.public.vsnet.jlca |
| Hello, I've tested the JLCA 2.0 with a simple java applet. The documentation says as follows: "They [Java projects] are converted in the following way: Applications Windows Forms applications Applets Web user controls You can host converted Web user controls in a browser just as you would an applet. Hosted controls are declared in HTML pages with the OBJECT tag, instead of the APPLET tag. Use the ... |
|
| Error installing JCLA 2 (4 replies, VIP) |
| microsoft.public.vsnet.jlca |
| I'm trying to run the JCLA 2 patch available here: http://msdn.microsoft.com/vstudio/downloads/tools/jlca/default.aspx It returns the error message: The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your compute... |
|
| Where is JCLA 1.0? (3 replies, VIP) |
| microsoft.public.vsnet.jlca |
| Being that microsoft has released the new JCLA 2.0, the JCLA 1.0 is no longer available. As I have recently discovered, the 2.0 version ONLY works with Visual Studio.NET 2003. That's great but, the problem is my company has chosen to stick with VS.NET 2002 until upgrades can be purchased/performed. Can the JCLA 1.0 be downloaded? What is the path for users still using VS.NET 2002? Julian |
|
| structs (3 replies, VIP) |
| microsoft.public.vsnet.jlca |
| how does JLCA handle structs conversion? |
|
| C# Equivalent to java.utl.Vector (2 replies) |
| microsoft.public.vsnet.jlca |
| Does anyone know if there is a C# equivalent to java.utl.Vector? Also does Microsoft have the C# API documented somewhere? I really like C# but I can never find the Classes I need. Thanks, JP |
|
| virtual key word in property definition, Serialization method GetObjectData implementation (2 replies) |
| microsoft.public.vsnet.jlca |
| Hi Master I have a java class which impletement serializable interface as ... public class DemoClass implements java.io.Serializable { public Boolean xmlFlag; public DemoClass() { xmlFlag new Boolean(false); } public void setXmlFlag(Boolean xmlFlag) { this.xmlFlag xmlFlag; } public Boolean getXmlFlag() { return xmlFlag; } } when i made use JLCA and converted to a .cs file the output is [Serializab... |
|
| MS JVM usage issues (2 replies, VIP) |
| microsoft.public.vsnet.jlca |
| Since I'm sure there are some former MS JVM folks reading this group, here are some questions about future MS JVM distribution/support: I have developed an application that uses the MS JVM (a PE built with jexegen.exe and using MS JVM and CAPICOM technology). I have a valid VJ license, so am legally entitled to distribute the MS JVM along with my application according to: http://www.microsoft.com/... |
|
| JLCA beta 2 : get logical drives problem (2 replies) |
| microsoft.public.vsnet.jlca |
| Java Version : public void displayFiles() { File[] listeRacine java.io.File.listRoots(); for (int i 0; i listeRacine.length; i ) { System.out.println(listeRacine[i].getAbsoluteFile()); } } C# Version after converting with JLCA beta 2 : public virtual void displayFiles() { System.IO.FileInfo[] listeRacine System.IO.FileInfo.listRoots(); for (int i 0; i listeRacine.Length; i ) { System.Console.Out.W... |
|
| convertion from java to csharp? (9 replies) |
| microsoft.public.vsnet.jlca |
| Hi,all I used TimerTask class in my java program,now I'm wondering about how to convert this to c#.Would you please give me some suggestion? Thanks in advance! My codes are as follows: public class EndTimerTask extends TimerTask { public EndTimerTask() { } public void run() { /* .... */ } } |
|
| IThreadable (3 replies) |
| microsoft.public.vsnet.jlca |
| I am trying to convert this Java code into C# with the "Java Language Conversion Assistant": URL: http://lxr.mozilla.org/mozilla/source/grendel/sources/ grendel/view/Threader.java This goes almost fine, but the IThreadable interface doesn't exist in the .NET library. How can I translate the pieces of code that implements the IThreadable interface into equivalent ..NET code? FYI: This message has b... |
|
| can't see console while running after perfect compile (6 replies) |
| microsoft.public.vsnet.jlca |
| All conversion problems seem to be solved (no errors and all logged warnings solved ) (Java C#) However System.Console.readLine() doesn't push up the console so rreturn s with null. the program is then aborted due null value. The command window does display correctly the System.Console.Writeline(). the point is that i made a simple console app. consisting of : main (string args []){ System.Console... |
|
| System.IO.FileSystemInfo vs java.io.File (3 replies) |
| microsoft.public.vsnet.jlca |
| There are some subtle differences between these classes and I wonder whether they've been considered when converting java code to c#. 1. Let us suppose that file c:\temp\yashi.txt exists. System.IO.FileSystemInfo file new System.IO.FileInfo(@"c:\temp\yashi.txt"); System.Threading.Thread.Sleep(10000); // here another application deletes the file Console.WriteLine(file.Exists); results in TRUE. This... |
|
| jlca bugs / feature requests (3 replies) |
| microsoft.public.vsnet.jlca |
| Hi, I've been using jlca on an application of 300 classes on an ongoing basis (simultaneous java and c# development). It works quite well, but I have found some limitations that I would like to report. 1) method override bug If a method has an unknown type in its signiture (such as org.w3c.dom.Node) and it overrides another method, jlca does not apply the "override" modifier as it should. Would it... |
|
| Is ist possible to keep the "get" "set" methods ? (14 replies) |
| microsoft.public.vsnet.jlca |
| Hi, The conversion assistant automatically assumes that my "get" "set" methods are properties, but I really have to keep them the way they are. Is this possible? Besides, the conversion will leave my methods without comments (the comments are placed randomly) !!! What about converting the Java 2 collections, is this possible (like HashMap, ArrayList, etc). Thanks, Lucian |
|
| System.getProperty("line.separator") (2 replies) |
| microsoft.public.vsnet.jlca |
| JAVA: System.getProperty("line.separator") C#: System.Environment.NewLine |
|
| ADO conversion (2 replies) |
| microsoft.public.vsnet.jlca |
| I tried with a program that reads a database and creates some data structures that are used by an applet. Of course the applet side of the program is hard to port, but JLCA translates the rest of my project so that I can load it and see my forms. A lot of errors are caused by font heights, I would suggest to use pixels as a guess to avoid compile errors. I think the user should be able to fix thin... |
|
| Found BUG in Microsoft vs dotnet TreeView Control. (2 replies) |
| microsoft.public.vsnet.jlca |
| Treeview control in vs dot net version have BUG in DRAG DROP EVENT. It locate the coordinate of mouse on screen not on its control. TEST by move form!!!!! Narong Tantayanon |
|
| reflection (2 replies) |
| microsoft.public.vsnet.jlca |
| java: // instantiate the service, set the exec interval, and // initialize it Class appServiceClass Class.forName(sClassName); IAppService as (IAppService)appServiceClass.newInstance(); as.setExecInterval(iExecInterval); as.init(context,bdo); c#: // instantiate the service, set the exec interval, and // initialize it //UPGRADE TODO: Format of parameters of method 'java.lang.Class.forName' are diff... |
|
| J# conversion (4 replies) |
| microsoft.public.vsnet.jlca |
| First of all, this looks like a great improvement over Beta 1. Thanks for the good work. Since Beta 1 was inadequate for my use, I went ahead and ported my Java stuff over to J#. Now I want to try the JLCA again. Any chance it would work on a J# project? Thanks. |
|