O'Reilly logo

Microsoft® Visual J#™ .NET (Core Reference) by John/Longshaw, Andy Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing a GUI Application Using the .NET Classes

If you have an existing AWT Java application you want to deploy under .NET, porting it is a sensible approach. But if you have an application built using Swing, you’ll most likely want to redevelop the GUI using .NET classes, for three main reasons:

  • J# does not provide support for Swing.

  • You can take advantage of the wide variety of GUI components that .NET offers.

  • Applications built using .NET classes can run much faster than their Java peers.

In this section, we’ll continue with the theme of the text editor. Specifically, rather than using JDK constructs, we’ll build an equivalent application using the .NET Framework. As you walk through the code, pay particular attention to areas where .NET development ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required