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


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

Re: Swing vs .NET

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

Show key headers only | View raw


  To: comp.lang.java.gui
> But, but - Swing is a set of AWT libraries - I will interpret your request as
> "prefer Swing components to heavyweight AWT components".  It has no bearing on
>   the comparison of the platforms anyway.

I didn't know that Swing is a set of AWT.

I did know that there's AWT and there's Swing and i did read inside
tutorial that main differences between AWT and Swing are heavyweight
and limited selection for AWT and lightweight and wide selection for
Swing. Additionally, i did read in some tutorial that AWT and Swing
are the most widely used libraries to develop Java GUI, so i took
Swing for my case.

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

I do know that are not equivalent. In the questions I use Java meaning
"Java, used to develop a business data driven application rich of GUI,
deployed on a Windows operating system.

I do believe it was quite clearly explained in the preamble, but maybe
it was not, as i'm not a natural english speaker and i may have done
mistakes in my post.

It is intended that if you know a better library than Swing, or an
extension of Swing, that offer similar performances and a wider
selection of components, it is welcomed, but i admit that this may not
been clearly explained.

> Swing is a set of libraries that make up /part/ of a Java application, or
> applet.  It isn't the only such in the GUI space - SWT is also widely used.

I didn't considered SWT, as most tutorial i've read about JAVA GUI
talk about AWT and Swing only.
It is surely my fault and i now see that SWT may be a library better
suited to my needs (GUI performance on window and easy of development)
than Swing.

The use of SWT is a nice and welcomed suggestion

> How many GUI frameworks are there in .Net?
>
> You say "choose an IDE as you like".  How many choices are there for .Net?

The choice about IDE is referred only to JAVA because JAVA has
different IDE, most of them quite good, that offer different thing. In
past i've only used Eclipse. I've enjoied it because it's quite
powerful but it's not fit very well for GUI and i've read in the web
that other IDE, such as NetBeans, are tools better suited to
application rich of GUI than Eclipse.
So i needed an opinion here.

.Net has Visual Studio and it is a complete IDE and a quite powerful
tool, especially for GUI, field in which past version of Visual Studio
has always been quite good, so there's no need to choose a different
IDE, if there's one.

> Ultimately in my mind Java wins, in part because it plays better with robust
> solutions like Apache Whatever, in part because there is a whole lot more out
> there in Javaworld than Big Brother offers, and in part because I prefer the
> open-software culture.

Uhm.
My apps have quite nothing to do with Apache and i never consider
position taken by principle when evaluating technical instruments but
i do consider objective pros and cons, and "open software" (or
Microsoft brand) is neither a pros nor a cons by itself.

> Also, you seem to be asking only about Swing, one particular GUI library, vs.
> .Net, an entire architecture for developing all kinds of applications.
> "Apples and oranges."  When you compare Javaworld to .Net, you have to look at
> all of Javaworld, and there are a heck of a lot of acronyms in that universe.

No. This is wrong. You can't compare two different thing as whole,
unless one is definatly better than the other on each and every
possible aspect. You always have to prioritize on your need and the
need of your particoular solution, and then compare tecnologies on the
specific aspects that interests you most and mostly ignore the rest.

In my case i explained those needs at the start.
Being the other aspects similar (both are strongly typed OO
programming languages fit to medium sized app development, both have
wide documentation and tutorials, both support most DBMS and so on) i
focused on my interests.

And i do not care about the "entire architecture for developing all
kinds of applications". I do care for my specific needs. In that case,
GUI and Database access performances and easy of development. When i
will look for a web application then i will compare ASP.NET, PHP and
similar tecnologies, on other aspects, and choose accordingly.

> I suggest you do two things instead of starting a religious war.  First,
> google for and peruse partisan but technical articles pro and con each
> platform.  Second, download development environments for both platforms and
> try them.  Remember, a scientific investigation attempts to isolate variables.

I did Googled a bit and i still am doing it but most benchmark i've
found refere to CPU intensive application (regular expression, math
calculus and so on) and few is told about interfaces development and
performance comparation. Further, many articles speak about specific
language properties, sintax and semanthic, which are interesting, per
se, but not much useful to my needs.
I've tried Visual Studio and i've tried Eclipse and i do have basics
on C# and JAVA, but i can't become an expert on two architectures just
to see which one i prefere.

And over all i definately did not mean to start a religious war.
Programming languages are tools that we use to develop other tools,
not a matter of life and dead.
Be sure that I've seen enough religious war in my university between
Mac User, Linux Geek and Microsoft Evangelist to have had enough of
them.

---
 * 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 | Next 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