aspose file tools*
The moose likes Beginning Java and the fly likes GUI Development? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "GUI Development?" Watch "GUI Development?" New topic
Author

GUI Development?

mike arnold
Greenhorn

Joined: Jul 07, 2010
Posts: 4
I've heard that both applets and swing are bad for applications...are these the only two options when it comes to GUI in Java?

Also, if I have heard wrong - can someone give me the scoop?
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
I've heard that both applets and swing are bad for applications...

What do you mean by "bad"? Swing works well for many folks. Care to back this statement up with any published reports?


are these the only two options when it comes to GUI in Java?

What are you trying to accomplish? Create a GUI that can run on many different platforms? I can't think of many libraries better than Swing for this. If you have other design purposes such as smart phone apps, android apps, ... etc, you'll need to let folks know as different requirements will mean different tools.
mike arnold
Greenhorn

Joined: Jul 07, 2010
Posts: 4
I have no resources, no. Just what high level Java devs have told me. I get on IRC a lot and a lot of the channels are hell bent on not using Swing and Applets.
mike arnold
Greenhorn

Joined: Jul 07, 2010
Posts: 4
Right now I'm not trying to accomplish anything, I was just wondering. Isn't Eclipse written in Java? That's pretty sophisticated stuff right there. Is that Swing?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18113
    
  39

mike arnold wrote:Right now I'm not trying to accomplish anything, I was just wondering. Isn't Eclipse written in Java? That's pretty sophisticated stuff right there. Is that Swing?


There are plenty of GUI applications in Swing, that proves that it is a viable API for GUI development.

However, eclipse is not really one of them. IBM decided to create their own GUI API, aka SWT...

http://www.eclipse.org/swt/

for which eclipse is based on.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18113
    
  39

mike arnold wrote:I have no resources, no. Just what high level Java devs have told me. I get on IRC a lot and a lot of the channels are hell bent on not using Swing and Applets.


I wouldn't worry about anyone that is "hell bent" on anything. Good programmers know lots of stuff, including many different GUI APIs.

Henry
mike arnold
Greenhorn

Joined: Jul 07, 2010
Posts: 4
Thank you Henry.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Some people don't like Swing because they don't actually *know* Swing, and are incapable of writing good, effective Swing apps. Swing is actually pretty good, and has held up well over the years. The current Swing API also provides a lot of helpers for things that used to have to be done manually, and often wasn't done correctly, leading to a misperception of Swing's capabilities.

So when people tell me that Swing sucks, I ask them why; they're almost *always* wrong.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 10912
    
  12

I always equate someone saying 'technology X sucks' to someone saying "Hammers are bad - you should NEVER use a hammer".

Hammers ARE bad...if you're trying to cut a board. But they're great for driving nails!!!

Someone who says "Swing is bad" is either not using it how it should be used, doesn't understand what it is/isn't good for, or probably both.

When I worked in a scene shop, the boss always said "Use the right tool for the right job". That's just as true in software development as anywhere else.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GUI Development?
 
Similar Threads
Coding for GUI is such a drag :(
Organizing a long overdue refactoring
to te to to to
Scala for GUI?
how to make GUI layout in Netbeans?