GPWiki.org
GPWiki.org
It is currently Fri May 24, 2013 8:27 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: What is Swing?
PostPosted: Sat Apr 14, 2012 9:51 pm 
Novice

Joined: Wed Apr 11, 2012 2:11 am
Posts: 6
I have been looking through Java Programming and i have found a couple of things related to swing what is it. Is it a language of itself or is it like a piece of like Java/C/C++/etc...??

This is due to the fact that i don't want to start learning about Swing when i'm not going to need it.

DaSnipeKid-


Top
 Profile  
 
 Post subject: Re: What is Swing?
PostPosted: Sat Apr 14, 2012 10:52 pm 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3810
Location: Ferriday, LA, US
Swing is a UI library part of the Java API. It is the modern version of Java's original UI toolkit, AWT (which, unless I am mistaken, has been deprecated for years).

As for what Swing does -- it can be summarized as a multi-platform GUI widget library. In other words, it is used to make windows, buttons, and other form controls in a way that will work on different operating systems (since each OS will typically have its own (multiple, in some cases) window manager, and those are usually completely incompatible otherwise).

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
 
 Post subject: Re: What is Swing?
PostPosted: Sun Apr 15, 2012 8:38 am 
Bytewise

Joined: Sun Oct 16, 2011 3:09 pm
Posts: 277
Location: Here (where else?)
LOL

In viewtopic.php?p=142924#p142924 you posted code that imports a swing class, and you asked a question about it. Now you claim you don't know you did that?

Sounds to me that you may want to read about the Java programming language as well :)

Edit: In particular, the Java class library that comes with it.

_________________
My project: Messing about in FreeRCT, dev blog, and IRC #freerct at oftc.net


Top
 Profile  
 
 Post subject: Re: What is Swing?
PostPosted: Sun Apr 15, 2012 9:08 am 
Shake'n'Baker

Joined: Thu Dec 29, 2011 2:33 pm
Posts: 62
A bit off topic now, but since roInMilc already answered here
an advise to you:

I would also suggest, learning more about Jave.
Espeacially Basics and try to understand everything you are
doing.
I am like you, implented things in my Code I didn't really
understand. Everything was fine. But when you get to the
point you want to create really own things, you need to
know everything you want to do.
I didn't know and I am a bit lost now(relearning basics :/ ).

Best regards,
Aestond


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group