Solved

Java swing - free tutorials

Posted on 2011-09-07
6
308 Views
Last Modified: 2012-05-12
Can I get some suggestions for free online tutorials for Java Swing?
I am a beginner with Swing, but have a fair knowledge of Java.

Thanks!
0
Comment
Question by:dshrenik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 250 total points
ID: 36499616
here in the list you'll find
Basic Swing and Advanced Swing
http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/

0
 
LVL 47

Assisted Solution

by:for_yan
for_yan earned 250 total points
ID: 36499621
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36499631
Youtibe turtorials

http://www.youtube.com/watch?v=-sOqzUs1Hqk  - for eclipse yiou can start form here

http://www.youtube.com/watch?v=mYRSs--7E14 - for netbeans
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 27

Assisted Solution

by:rrz
rrz earned 125 total points
ID: 36499633
0
 
LVL 41

Assisted Solution

by:HonorGod
HonorGod earned 125 total points
ID: 36499648
http://www.javabeginner.com/java-swing/java-swing-tutorial

http://www.java-forums.org/java-tutorials/3181-java-swing-tutorial.html

http://www.roseindia.net/java/example/java/swing/

Be careful though.

Not all tutorials are the same, or demonstrate "best practices".

Look for lots of examples, and try to understand them.

Use the dispatch thread... ;-)


import java.awt.*; 
import java.awt.event.*; 
import javax.swing.*; 
  
class MyDemo ... { 
 
  MyDemo() { 
    ... 
    frame.setVisible(true); 
  } 
 
  public static void main(String args[]) { 
 
    // Create the frame on the event dispatching thread. 
    SwingUtilities.invokeLater(new Runnable() { 
      public void run() { 
        new MyDemo(); 
      } 
    }); 
 
  } 
}

Open in new window

0
 
LVL 41

Expert Comment

by:HonorGod
ID: 36516299
Thanks for the assist and the points.

Good luck & have a great day.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question