Solved

Java swing - free tutorials

Posted on 2011-09-07
6
302 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mapAB Challlenge 35 124
what is a "java.lang.System Property"   ? 20 57
Windows 10 IE Certificate Issue 10 41
MySqlDump not dumping triggers 1 15
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
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 …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

914 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

18 Experts available now in Live!

Get 1:1 Help Now