Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1751

Re: Swing vs .NET

From "Lew" <lew@THRWHITE.remove-dii-this>
Subject Re: Swing vs .NET
Message-ID <aeCdnTCKboUUPfnbnZ2dnUVZ_vyunZ2d@comcast.com> (permalink)
Newsgroups comp.lang.java.gui
References <1180986980.872094.259130@g4g2000hsf.googlegroups.com>
Date 2011-04-27 15:35 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Gabriele wrote:
> I didn't know that Swing is a set of AWT.

Sort of, and not precisely.  Swing is built on the AWT libraries, and many of 
the AWT APIs are part of Swing apps also.

The part you are interested in is the components, such as JPanel vs. Panel or 
JApplet vs. Applet, where there are more-or-less equivalent idioms.  In that 
case, the "J" prefix signifies a so-called "lightweight" Swing component, the 
absent "J" signifies the "heavyweight" AWT component.

The terminology is not universal.  Here it means that Swing components are 
written entirely in Java and run only on the JVM.  AWT components use "sister" 
components from the host operating system, so an AWT Panel actually uses some 
Windows-native window on that OS, with a Java hook to tie it into Javaworld.

Lew wrote:
>> You say "Java" in some sentences and "Swing" in others.  They are not equivalent.

I see what you're asking for now.

Since you've already gotten into both the Java and .Net platforms that you 
might find knowing both to be useful.

SWT is not, to my knowledge, as widely used as Swing but it has a following.

I've programmed for quite a few different GUI platforms, including Windows, 
Swing, UNIX Open Look and Motif, to name a few, and they all seem quirky to 
me.  You have to know the gotchas, certainly with Swing.

I suspect you'll find that both environments are roughly equal, with some 
strengths falling to one and some to the other.  I'm partisan to Java, myself 
- the Microsoft Way tends to seem disjoint to me, like Bizarro Superman's world.

-- 
Lew

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Swing vs .NET "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: Swing vs .NET "Gabriele" <gabriele@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
    Re: Swing vs .NET "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000

csiph-web