The Active Network
ActiveWin Anonymous | Create a User | Reviews | News | Forums | Advertise | VBA in Excel | Users Online: 0  
 

neowin.net

Amazon.com

  *  

  Displaying .NET Windows Forms from Java SWING
Time: 20:06 EST/01:06 GMT | News Source: Microsoft | Posted By: Jonathan Tigner

Learn how an application in Java SWING can invoke and display a Windows Form, pass parameters to the form and wait for a return value when the form is closed. This type of technique shows how organizations can introduce new forms and controls based on Windows Forms into an existing Java SWING environment and helping them to rapidly deploy .NET applications without having to rip out existing infrastructure or wait until new replacement applications are written.

Read Only Comments
Return to News
  Displaying Comments 1 through 2 of 2
  This is an archived static copy of ActiveWin.com.
#1 By 8273 (4.5.90.112) at Thursday, January 29, 2004 02:53:32 AM
#1: Choice. I run a small business that writes apps for other small businesses. I used Java because it was easy to write the apps that I was asked and paid to write. When .NET was released, I found that it was easier to write the apps that my customers asked for, but I still had a large codebase that was Java based. What were my choices? I could continue to use Java, loosing some productivity (I found that Visual Studio was the best tool that I could find). I could convert my Java code to .NET using J#, or I could use the approach detailed here, to call .NET code from Java. I selected to use J# mainly because that was available much earlier than this article, and to slowly convert my code to C#.

SUN has some grand vision of making every Java app available for all platforms, and maybe that is a noble vision. But it does not offer me what I need. I need some of the services available in Windows that is not available in the “write once, run everywhere” plan that SUN has. .NET offers easy use of web services, something that Java does not.

SUN, AOL, Netscape, Real may be locked in some struggle to overthrow Microsoft by using the courts, claiming that they are a monopoly. But you know what? Microsoft makes the tools that I need to develop code that my customers need. When that puts food on the table for me and my children and puts a roof over our heads, I could not give a damn about SUN’s jealous ambitions.

#2 By 1845 (67.161.212.73) at Thursday, January 29, 2004 12:35:17 PM
Hmm, easier to write an app for Windows using Java. That's one I've never heard before. I can't see the logic in it either. I agree with JWM on this one.



 

  *  
  *   *
 
replica watches