aspose file tools*
The moose likes Android and the fly likes Learn or skip Swing before turning to Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Learn or skip Swing before turning to Android" Watch "Learn or skip Swing before turning to Android" New topic
Author

Learn or skip Swing before turning to Android

Paulius Kukulskis
Greenhorn

Joined: Dec 27, 2012
Posts: 6

Hi there! I am new to Java. Currently have read 1st half of "Head first Java" book. I am thinking of becoming an Android developer in the future. And here I am reading the beginning of an "Android cookbook"<...> which says: "Avoid any sections in any book that talk about topics: Swing, Applets, application entry point main(), J2ME/JavaME, Servlets//JSP, J2EE/JavaEE".
Since I am reading "Head first Java" and the chapter about SWING is coming pretty soon I have a natural question: shall I learn or skip SWING?

-Paul-
Joe Areeda
Ranch Hand

Joined: Apr 15, 2011
Posts: 294
    
    2

Well the list of things to avoid you posted is a list of things that are not used in Android apps.

So if all you want to do with Java is write Android apps it's probably not worth the trouble. In fact learning Swing will just make you aware of some of the things missing in Android. Google has its own way of doing things and I don't mean to imply they are doing it wrong.

Joe


It's not what your program can do, it's what your users do with the program.
Paulius Kukulskis
Greenhorn

Joined: Dec 27, 2012
Posts: 6

Joe, thank you for reply. I am still wondering why do they say to skip the previously mentioned chapters? Is SWING out of date? They don't want me to mix and get lost between two GUIs?

-Paul-
Karthik Jayachandran
Ranch Hand

Joined: Feb 18, 2009
Posts: 84

Swing API is mainly used for the GUI of Windowed/Applet Application. Whereas the Android may use a different set of GUI API. Most of the Java developers would have come across learning Swing API. In this case, the authors intend to say, if the reader is newbie, he can go back and learn some of the Swing basics, or skip them entirely and start learning the Android straight away.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
Android does not use Swing at all. Swing is still the GUI of choice for Java applications, but learning it will do precisely nothing for your Android skills. It's not just that the API is different, it's an entirely different UI architecture; learning it will not make learning the Android UI any easier.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Learn or skip Swing before turning to Android
 
Similar Threads
Need Good Book On Swing
How to use the texts
What book for learning Java 7 ?
Head First Java by Bert Bates, Kathy Sierra
Books to start Android Development