Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807593, 1 year ago
Do not use MultiButton.add() use MultiButton.getContentPane().add() instead
via Oracle Community by 843805, 1 year ago
Do not use untitled6.SoundExample.add() use untitled6.SoundExample.getContentPane().add() instead
via wpthm.com by Unknown author, 2 years ago
Do not use SampleView.setLayout() use SampleView.getContentPane().setLayout() instead
via Google Groups by rolf gabler, 7 months ago
Do not use ThreeDc.add() use ThreeDc.getContentPane().add() ins tead
via Oracle Community by 843807, 10 months ago
Do not use Paplet.setLayout() use Paplet.getContentPane().setLayout() instead
via Oracle Community by 843807, 2 years ago
Do not use DynamicGraph.setLayout() use DynamicGraph.getContentPane().setLayout() instead
java.lang.Error: Do not use MultiButton.add() use MultiButton.getContentPane().add() instead	at javax.swing.JApplet.createRootPaneException(JApplet.java:193)	at javax.swing.JApplet.addImpl(JApplet.java:215)	at java.awt.Container.add(Container.java:228)	at MultiButton.init(MultiButton.java:24)	at sun.applet.AppletPanel.run(AppletPanel.java:344)	at java.lang.Thread.run(Thread.java:484)