Comment

greg
why?,
March 10, 2009 at 8:00 PM

it doesn't run when I try it?

I will I do?

this will appear in the cmd:

java.lang.Error: Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
at javax.swing.JFrame.createRootPaneException(JFrame.java:465)
at javax.swing.JFrame.addImpl(JFrame.java:491)
at java.awt.Container.add(Container.java:518)
at MultilineLabelButton.main(MultilineLabelButton.java:13)
Exception in thread "main"
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

java swing.
 

Swing AWT

java swing - Swing AWT
 

Java Beginners

Swing Button Example
 

Java3D Questions

SWING
 

Java-Tutorials

Java Swing : JLabel Example
 

Swing AWT

swing
 

Swing AWT

Java - Swing AWT
 

Swing AWT

Swing
 

Swing AWT

Swing
 

Java Beginners

Swing - Java Beginners
 

Java Beginners

java swing - Java Beginners
 

Swing AWT

java - Swing AWT
 

Java Beginners

Java swing - Java Beginners
 

Java Beginners

Java swing - Java Beginners
 

Blog

Sitemap Java Swing Tutorial
 

Swing AWT

java swings - Swing AWT
 

Swing AWT

Date picker in Java Swing
 

Java-Tutorials

Java Swing : JFrame Example
 

Swing AWT

Java Dialogs - Swing AWT
 

Java Beginners

java swing in netbeans
 

Java Interview Questions

Java swing
 

Java Interview Questions

Java swing
 

Framework Questions

java swing
 

Java Beginners

java swing
 

Swing AWT

Java - Swing AWT
 

Java Beginners

java swing
 

Swing AWT

Java swing
 

Java Beginners

java swing
 

Swing AWT

java - Swing AWT
 

Java-Tutorials

Swing In Java
 

Swing AWT

Swing - Swing AWT
 

Swing AWT

java swing - Swing AWT
 

Swing AWT

java-swings - Swing AWT
 

Swing AWT

java - Swing AWT
 

Java Beginners

java swing (jtable)
 

Java Beginners

java swing problem - Java Beginners
 

Java Beginners

Java swing code - Java Beginners
 

Swing AWT

Need Help with Java-SWING progrmming - Swing AWT
 

Swing AWT

java swing - Swing AWT
 

Swing AWT

java swing - Swing AWT
 

Java Beginners

JAVA SWING JTabbedPane - Java Beginners
 

Java Beginners

Java swing
 

Java Beginners

Java swing
 

Java-Tutorials

Swing Applet Example in java
 

Swing AWT

java - Swing AWT
 

Core Java

Java Swing
 

Swing AWT

query - Swing AWT
 

Java-Tutorials

Java Swing : JButton Example
 

Applet Questions

Swing - Applet
 

Java Beginners

Java swing
 

Swing AWT

tree - Swing AWT
 

Java Beginners

java swing
 

Swing AWT

java - Swing AWT
 

Java Beginners

Java swing
 

Swing AWT

java swing - Swing AWT
 

Java Beginners

Java swing
 

Java Interview Questions

Java swing
 

Java Beginners

swing - Java Beginners
 

Development process Questions

java swing
 

Java Beginners

Java swing
 

Java Beginners

Java Swing
 

Swing AWT

java swing
 

Swing AWT

java swing
 

Java Beginners

Java Swing
 

Java Beginners

Java Swing
 

Java Beginners

Java Swing
 

Java Beginners

Java Swing
 

Java Beginners

Java swing
 

Java Beginners

Java swing
 

Java Interview Questions

Java Swing
 

Development process Questions

java swing
 

Swing AWT

code - Swing AWT
 

Java Beginners

Java swing
 

Java Beginners

Java Swing - Java Beginners
 

Java Code Examples

JTextField Validation in java swing
 

Swing AWT

Look and Feel - Swing AWT
 

Java Beginners

Java swing code
 

Java Beginners

Java swing code
 

Java Beginners

java swing and CSS
 

Java Beginners

Java swing code
 

Java Beginners

Java swing code
 

Java Beginners

Java swing code
 

Java Beginners

Java swing code
 

Java Beginners

How to Hide Button using Java Swing
 

Programming Tutorials

Java Swing Open Browser
 

Swing AWT

swings - Swing AWT
 

Swing AWT

Program for Calculator - Swing AWT
 

Java Code Examples

Java Swing: Validate radiobutton
 

General

Java Swing Tutorials
 

Java Code Examples

Java Swing Key Event
 

Java Beginners

Graph in JAVA SWING
 

Development process Questions

intranet in java swing
 

Java Beginners

Session in java Swing
 

Java Beginners

Session in java Swing
 

Swing AWT

Java Swings problem - Swing AWT
 

Swing AWT

SWINGS - Swing AWT
 

Java Beginners

swing question - Java Beginners
 

Java-Tutorials

JSlider Component of Java Swing
 

Java Beginners

java swing - Java Beginners
 

Java Beginners

scope of Java Swing in IT ?
 

Advertisements Advertisements
 

 

 

DMCA.com