D
dolphin
Hi !Swing better than Awt?How do you think?
Hi !Swing better than Awt?
..How do you think?
AWT is too simple, while SWing is too slow.Hi !Swing better than Awt?How do you think?
AWT is too simple, while SWing is too slow.
jb said:dolphin:
Better for what purpose?
Xiaochuan Fang:
AWT is not simple, but featureless. It might get complicated when you
try to customize it a lot.
I use swing just for esthetic pleasure of using so well planned
library, and because it is very easy to learn, to use, and to
customize. But my apps aren't commercial, and my users (well there's
only few ) don't need very opiimized things.
Xiaochuan said:dolphin дµÀ:
... while SWing is too slow.
Michael said:No, not the old fairy-tale again.
Bye
Michael
Is it really a fairy tale?
Yes.
from my understanding of swing (I haven't really used it)
swing hides the fact from you that an os usually only allows one single
Gui-Thread that you have to use when you interact with the gui ...
Andrew Thompson said:Define 'better'.
Christian said:Is it really a fairy tale?
Michael said:No, not the old fairy-tale again.
Chris said:Swing is slow in the same sort of sense. It's /too/ slow, but it's no longer
so bad that I'd automatically avoid using a Swing/AWT app just for that reason.
Chris said:I'd say it's far from being a fairy-tale. I agree that (what with improvements
inside AWT/Swing /and/ general speedups of machines) it is no longer as true as
it used to be, but it wasn't and isn't a complete myth.
It's like claiming that the Thames is polluted. That is true today, but not in
anything like the way that the poor river was polluted a 50 or 100 years ago.
Then it was so true that you'd build your life around that truth (not live near
the bad bits of the river and so on). These days, you wouldn't actually
/drink/ it, but not everyone who jumps in comes away with a health problem...
Swing is slow in the same sort of sense. It's /too/ slow, but it's no longer
so bad that I'd automatically avoid using a Swing/AWT app just for that reason.
Richard Maher said:Does anyone handcraft this stuff anymore or is it all generated
code now anyway?
but not everyone who jumps in comes away with a health problem...
Chris Uppal said:Michael said:No, not the old fairy-tale again.
I'd say it's far from being a fairy-tale. I agree that (what with improvements
inside AWT/Swing /and/ general speedups of machines) it is no longer as true as
it used to be, but it wasn't and isn't a complete myth.
It's like claiming that the Thames is polluted. That is true today, but not in
anything like the way that the poor river was polluted a 50 or 100 years ago.
Then it was so true that you'd build your life around that truth (not live near
the bad bits of the river and so on). These days, you wouldn't actually
/drink/ it, but not everyone who jumps in comes away with a health problem...
Swing is slow in the same sort of sense. It's /too/ slow, but it's no longer
so bad that I'd automatically avoid using a Swing/AWT app just for that reason.
(And no, before anyone mentions it, I'm /not/ talking about the [lack of]
startup speed -- that's a different issue IMO.)
- chris
Richard said:Anyway WRT Swing -vs- AWT, as a beginner I've been using AWT 'cos I thought
it was a simpler yet still functional interface. Is that wrong? Did Swing
supplant AWT? Is there a library better than Swing? I imagine technology
hasn't stood still since the gridbag layout, but where should one invest
there time?
Does anyone handcraft this stuff anymore or is it all generated
code now anyway?
Note that it is not possible if you have to support applets running
with old MS or NS JVM's.
Richard said:Anyway WRT Swing -vs- AWT, as a beginner I've been using AWT 'cos I
thought it was a simpler yet still functional interface. Is that
wrong?
Did Swing supplant AWT?
Is there a library better than Swing?
I imagine technology hasn't stood still since the gridbag layout,
but where should one invest there time?
Does anyone handcraft this stuff anymore
or is it all generated code now anyway?
Richard said:Anyway WRT Swing -vs- AWT, as a beginner I've been using AWT 'cos I thought
it was a simpler yet still functional interface. Is that wrong?
Did Swing
supplant AWT?
Is there a library better than Swing?
> I imagine technology
hasn't stood still since the gridbag layout,
but where should one invest
there time? Does anyone handcraft this stuff anymore or is it all generated
code now anyway?
If you need to support versions of Java older than Swing, AWT is better.
(But versions of Java older than Swing are all obsolete.) If you want to
write a plug-in for Eclipse, SWT is better. But, in general, Swing is
much more powerful.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.