Solved

Java swing - free tutorials

Posted on 2011-09-07
6
300 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
  • 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now