Click here to Skip to main content
12,944,121 members (51,278 online)

Press Releases

Welcome to the new Press Releases forum! Our old press release system has been retired but we've moved everything and everyone to a new, shinier home. Enjoy!

A press release must be written for the purpose of announcing something newsworthy. Advertisements, promotions, or anything smelling even vaguely of spam will be deleted. All press releases must be relevant to the development community.

NewsWSO2 Presents Two Technical Webinars on Enterprise Integration Best Practices Using the WSO2 ESB Pin
andrew.kinetic3-Oct-12 21:40
memberandrew.kinetic3-Oct-12 21:40 
GeneralRetrieve Specific Number of Messages from PST & Set Dimensions of TIFF Pin
Usman Sarfraz3-Oct-12 17:13
memberUsman Sarfraz3-Oct-12 17:13 
GeneralOctober 2012 Edition of Saaspose.Newsletter is out Now Pin
saaspose2-Oct-12 18:56
membersaaspose2-Oct-12 18:56 
GeneralPress release: Jelastic Wins Duke’s Choice Technology Leader Award: The Java Community’s Oscar Pin
SoftPressRelease2-Oct-12 4:18
memberSoftPressRelease2-Oct-12 4:18 
NewsWSO2 VP and API Evangelist Founder Will Co-present Webinar on the Building Blocks and Business Value of API Management Pin
andrew.kinetic2-Oct-12 3:54
memberandrew.kinetic2-Oct-12 3:54 
GeneralAdd Licensing, Copy-Protection To Your Apps Quickly & Easily With CryptoLicensing For ActiveX 2012 R2 Pin
LogicNP1-Oct-12 23:51
memberLogicNP1-Oct-12 23:51 
GeneralAspose.Newsletter October 2012 Edition is Out Now Pin
Usman Sarfraz1-Oct-12 20:13
memberUsman Sarfraz1-Oct-12 20:13 
GeneralMigrate .Net Windows Forms to Java using CodePorting App Pin
codeporting1-Oct-12 19:37
membercodeporting1-Oct-12 19:37 
<a href=>CodePorting Application is always making efforts to improve its features list to make it the best online <a href=>C# to Java conversion service for developers. One of such feature is converting C# windows forms to Java.

This is a great feature that will reduce the cost and effort to convert C# Windows form application to java. CodePorting Engineers are currently upgrading C#2Java engine to take this idea further and make this feature more powerful for future desktop application. To start this feature CodePorting has successfully ported simple desktop application to java.

CodePorting is using Swing components instead of AWT to convert .Net forms to Java because it is easily convertible and provide wide range of features such as icons, pop-ups, tool-tips, and its plug-able look & feel makes it fit in any OS environment. <a href=>C#2Java engine also converts form events to java. To accommodate this new feature, codeporting has enhanced the core, created some new Java library classes and updated the mappings files.

Below Example shows the conversion of C# Windows form to Java.

C# Code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CsPorter.Tests.Convert.Forms
    public class Test2 : Form
        public Test2()
        public void initUI ()
            Panel panel = new Panel ();
            panel.Location = new System.Drawing.Point (-1, 0);
            panel.Size = new System.Drawing.Size (285, 261);
            TextBox text1 = new TextBox ();
            text1.Location = new System.Drawing.Point (25, 25);
            text1.Text = "Autoported using C#2Java";
            text1.Size = new System.Drawing.Size (150, 25);
            Label label1 = new Label ();
            label1.Location = new System.Drawing.Point (25, 50);
            label1.Text = "label1";
            Button button1;
            button1 = new Button ();
            button1.Location = new System.Drawing.Point (25, 75);
            button1.Name = "button name";
            button1.Text = "button 1";
            button1.Size = new System.Drawing.Size (75, 23);
            button1.Click += new System.EventHandler (button1_Click);
            panel.Controls.Add (label1);
            panel.Controls.Add (text1);
            panel.Controls.Add (button1);
            button1.Visible = true;
            Controls.Add (panel);
            Size = new System.Drawing.Size (300, 290);
        private void button1_Click (object sender, EventArgs e)
            MessageBox.Show ("Autoported using C#2Java");
        public static void main(String[> args)

Java Code:
package CsPorter.Tests.Convert.Forms;
import com.codeporting.csharp2java.System.Windows.Forms.Form;
import com.codeporting.csharp2java.System.Windows.Forms.Panel;
import javax.swing.JTextField;
import javax.swing.JLabel;
import com.codeporting.csharp2java.System.Windows.Forms.Button;
import java.awt.event.ActionEvent;
import com.codeporting.csharp2java.System.Windows.Forms.MessageBox;
public class Test2 extends Form
    public Test2()
    public void initUI ()
        Panel panel = new Panel ();
        panel.setLocation(new com.codeporting.csharp2java.System.Drawing.Point (-1, 0));
        panel.setSize(new com.codeporting.csharp2java.System.Drawing.Size (285, 261));
        JTextField text1 = new JTextField ();
        text1.setLocation(new com.codeporting.csharp2java.System.Drawing.Point (25, 25));
        text1.setText("Autoported using C#2Java");
        text1.setSize(new com.codeporting.csharp2java.System.Drawing.Size (150, 25));
        JLabel label1 = new JLabel ();
        label1.setLocation(new com.codeporting.csharp2java.System.Drawing.Point (25, 50));
        Button button1;
        button1 = new Button ();
        button1.setLocation(new com.codeporting.csharp2java.System.Drawing.Point (25, 75));
        button1.setName("button name");
        button1.setText("button 1");
        button1.setSize(new com.codeporting.csharp2java.System.Drawing.Size (75, 23));
        button1.setClick(new com.codeporting.csharp2java.System.Windows.Forms.EventHandler (this,"button1_Click"));
        panel.getControls().add (label1);
        panel.getControls().add (text1);
        panel.getControls().add (button1);
        getControls().add (panel);
        setSize(new com.codeporting.csharp2java.System.Drawing.Size (300, 290));
    public void button1_Click (Object sender, ActionEvent e)
    { ("Autoported using C#2Java");
    public static void main(String[> args)

Newly added articles and documentation pages

-<a href=> Migrate .Net Windows Forms to Java using CodePorting App
- <a href=>Indisputable Advantages of CodePorting C#2Java App
- <a href=>Convert C# is Operator to instanceof Operator in Java
- List of <a href=>Conversions Supported by CodePorting C#2Java Engine

About CodePorting C#2Java App

CodePorting helps you make your .NET applications cross platform compatible and allows migrating your .NET solutions, projects and files into Java in the cloud. Other than speed and accuracy of conversion; port your C# code directly either by uploading .cs files contained in a .zip file or import directly from popular version control repositories like GIT, Mercurial HG and SubVersion. You can also download a Microsoft Visual Studio plugin and convert C# code in the real time without leaving the development environment. You may also build your own customized code conversion applications using CodePorting APIs.

Read more about CodePorting

- Start converting <a href=> C# Apps and source code to Java
- CodePorting <a href=> Homepage
- CodePorting <a href=> C#2Java Homepage
- CodePorting <a href=> Documentation
- Watch out <a href=> CodePorting introductory video

Contact Us

Suite 163, 79 Longueville Road
Lane Cove, NSW 2066, Australia
<a href=> Codeporting – Your CodePorting Experts
Skype Name: CodePorting
Email: support [@] codeporting [dot] com
GeneralGet Count of All Bookmarks & Manage Selected Bookmarks in a PDF File Pin
saaspose30-Sep-12 19:05
membersaaspose30-Sep-12 19:05 
General10 Evident Advantages of using CodePorting for Converting C# Apps to Java Pin
codeporting30-Sep-12 18:34
membercodeporting30-Sep-12 18:34 
NewsWorkshop on WSO2 Integration Platform Discovery Comes to Atlanta Pin
andrew.kinetic27-Sep-12 10:04
memberandrew.kinetic27-Sep-12 10:04 
NewsTypemock Introduces Unit Testing Tools for All Levels of Development Pin
NCSM27-Sep-12 5:53
memberNCSM27-Sep-12 5:53 
GeneralCodePorting Converts C# Delegates to Java Instantly Pin
codeporting27-Sep-12 0:26
membercodeporting27-Sep-12 0:26 
GeneralSelect PDF Image & Extract Text from Image of PDF File in the Cloud Pin
saaspose26-Sep-12 16:58
membersaaspose26-Sep-12 16:58 
GeneralCodePorting - Your Expert for Online C# to Java Conversion Pin
codeporting25-Sep-12 23:38
membercodeporting25-Sep-12 23:38 
GeneralJava Library for Images Conversion to PSD, BMP, JPEG, PNG, TIFF or GIF Pin
Usman Sarfraz25-Sep-12 21:28
memberUsman Sarfraz25-Sep-12 21:28 
NewsWSO2 to Present Technical Webinar on Promoting Service Reuse with API Management Pin
andrew.kinetic25-Sep-12 20:19
memberandrew.kinetic25-Sep-12 20:19 
NewsLEAD Technologies Enhances HTML5 Medical Viewer in LEADTOOLS 17.5 Pin
LEADTOOLS Support25-Sep-12 6:27
groupLEADTOOLS Support25-Sep-12 6:27 
GeneralAccusoft Releases Barcode Reader App, Extends Mobile SDK Support Pin
Pegasus Imaging25-Sep-12 5:46
memberPegasus Imaging25-Sep-12 5:46 
NewsWSO2 Partners with Wipro to Deliver Open Source Middleware Solutions Pin
andrew.kinetic24-Sep-12 9:08
memberandrew.kinetic24-Sep-12 9:08 
GeneralGet Number of Images in a Slide or Presentation & Save Slide as Image Pin
saaspose23-Sep-12 18:18
membersaaspose23-Sep-12 18:18 
NewsCppDepend version 3 released! Pin
Issam Lahlali23-Sep-12 0:25
memberIssam Lahlali23-Sep-12 0:25 
Sean Ewington21-Sep-12 9:21
staffSean Ewington21-Sep-12 9:21 
GeneralTX Spell .NET 3.0 released! Pin
Christopher Krause21-Sep-12 0:42
memberChristopher Krause21-Sep-12 0:42 
NewsAerospike Founder Demonstrates How to Break the Predictable Database Performance Barrier at the Surge 2012 Scalability and Performance Conference Pin
andrew.kinetic20-Sep-12 8:55
memberandrew.kinetic20-Sep-12 8:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web01 | 2.8.170518.1 | Last Updated 16 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid