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


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

Re: Swing vs .NET

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Lew" <lew@THRWHITE.remove-dii-this>
Subject Re: Swing vs .NET
Message-ID <aeCdnTCKboUUPfnbnZ2dnUVZ_vyunZ2d@comcast.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <1180986980.872094.259130@g4g2000hsf.googlegroups.com>
References <1180986980.872094.259130@g4g2000hsf.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 42
Date Wed, 27 Apr 2011 15:35:08 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918508 96.60.20.240 (Wed, 27 Apr 2011 10:35:08 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:35:08 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1751

Show key headers only | 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