Solved

Java swing - free tutorials

Posted on 2011-09-07
6
306 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
configure dependency in POM for new database 3 43
SHA2 certs for IIS AND Java? 2 121
spring jars download 1 52
iterator/ListIterator approach 17 50
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
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:

680 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