Java Swing Application Framework

I'm starting to learn how to create simple JAVA desktop applications using NetBeans 6.9.1.  But when I create a new project, I get a disclaimer that reads:  

"Note that JSR-296 (Swing Application Framework) is no longer developed and will not become part of the official Java Development Kit as was originally planned. You can still use the Swing Application Framework library as it is, but no further development is expected.

If you are looking for a Swing-based application framework, consider using the NetBeans Platform platform.netbeans.org, which is a full-featured platform suitable for creating complex and scalable desktop applications. The Platform contains APIs that simplify the handling of windows, actions, files, and many other typical application elements."

Does this mean I should stay away from Swing since it will no longer be "official?"  What should I focus on?  Please explain what NetBeans means by "consider using the NetBeans Platform."

Thank you,
marc
LVL 3
marcparilloAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mick BarryJava DeveloperCommented:
Its just the framework that has been dropped. You can still use Swing, just don't use the framework
http://netbeans.org/kb/68/java/gui-saf.html
0
for_yanCommented:

Swing will not be removed form JDK:

http://stackoverflow.com/questions/3167327/swing-removed-from-jdk

http://blogs.sun.com/theplanetarium/entry/the_future_of_swing

Now there are so many applications created using Swing, so that it is safe to believe
for all practical purposes  Swing will stay with Java forever
0
marcparilloAuthor Commented:
Can you explain "It's just the framework that has been dropped. You can still use Swing, just don't use the framework."  -- what's the difference between using Swing and the "framework."  

When I hear someone say "the framework" it sounds to me they're referring to the API that Swing is built on.  So, how can I use swing without using the framework?
0
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Mick BarryJava DeveloperCommented:
JSR-296 was a proposal for a framework to build Swing applications.
It has been dropped, Swing hasn't.

> So, how can I use swing without using the framework?

http://download.oracle.com/javase/tutorial/uiswing/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
for_yanCommented:

All Swing components as we know them will stay and they are just part of Swing.
Swing Application Framework was supposed to be something on top of those
integrating them into infrastructure common
to most desktop application. It means that if you use Swing components and combine them youself
into any kind of interface you can feel safe, that all those components will stay and will be always supported.
It becomes understandable if you read the openeing phrases for the section 2 of dropped JSR 296 proposal:
http://jcp.org/en/jsr/detail?id=296#2

Don't know how far Netbeans already uses framework - I always try not to depend on anything,  specific, say  to IDE
Whatever is in JDK API - all JFrames, JButtons, JTextFields, etc. - all those will be fine and no one should be scared of using them.


0
marcparilloAuthor Commented:
Thank you for such helpful answers!  One more question along those same lines:

What classes, API's should I focus on to learn how to incorporate multimedia (video, images) into a Java desktop application.




0
Mick BarryJava DeveloperCommented:
have a look at Java2D and JMF
0
for_yanCommented:
Basic stuff like images are of course part of JDK.
I guess if you want to use more sophisticated stuff, I guess, there is Java Media Framework (JMF)

http://www.oracle.com/technetwork/java/javase/download-142937.html

0
marcparilloAuthor Commented:

Excellent! Thank you!  Could you also clear up some confusion I have about which type Java project I should focus on for my goals?

I want to create the sort of application that can be distributed (downloaded) and installed on a desktop or laptop computer that, when connected to the Internet, can communicate with a database on a remote server.  When using NetBeans, there are many project categories to choose from.  I know Java ME is for mobile apps.  But if I wanted to do something desktop-related, should I be focusing my attention on Java Applications and Java Web Start (utilizing Swing) or Java FX or something else?

Thanks!
0
for_yanCommented:
I'd start just with Java Application
0
for_yanCommented:
WebStart is just the way you may want to deploy it.
It may be convenient if you want your users to be able
to download the latets version - it may check ever time if a new version appeared.
But I guess, you may add this ability after you develop your application later,
if you feel the need. Java Application is the most general category.
0
marcparilloAuthor Commented:
Thank you again!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.