Solved

Java swing - free tutorials

Posted on 2011-09-07
6
304 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Basic Java Case or If-Else statement... 3 50
Error trying to install RTMT Win7 5 60
netstat -ano | find "8000" and taskkill /f /pid 2984 3 56
expectj telnet failing 5 36
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

770 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