Please tell me

A

Andrew Thompson

Jack said:
Could someone tell me ..

<dripping with sarcasm>
Hark, (puts cupped hand to ear) do you hear the
tumbleweeds? They go 'psssshhh, psssshhh' as the
warm breeze pushes them lazily by. ;-)
</dripping with sarcasm>
 
J

Jack

I installed the hotjava browser and same thing
give it a try and let me know what u get.
I need to compare with u.
 
Z

zero

Could someone tell me if he tries these examples if these examples if
they work?

I get a red X on each of them. Im worried if my browser has the wrong
settings selected.

http://java.sun.com/j2se/1.3/docs/guide/awt/demos/lightweight/index.htm
l

The examples crash for me too - NoClassDefFoundError.
However, you're looking at demos for java 1.3, which is quite outdated.
Try changing the 1.3 in the url to 1.4 or better yet 1.5. Those examples
work for me.

http://java.sun.com/j2se/1.5/docs/guide/awt/demos/lightweight/index.html
 
R

Roedy Green

I get a red X on each of them. Im worried if my browser has the wrong
settings selected.

http://java.sun.com/j2se/1.3/docs/guide/awt/demos/lightweight/index.html

I tried this example
round button lightweight.
http://java.sun.com/j2se/1.3/docs/guide/awt/demos/lightweight/RoundButtons/example.html

It failed with:

java.lang.NoClassDefFoundError: actual/ExampleApplet (wrong name:
ExampleApplet)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at
com.opera.PluginClassLoader.findClass(PluginClassLoader.java:322)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
com.opera.PluginClassLoader.loadClass(PluginClassLoader.java:387)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at Switcher.init(Switcher.java:116)
at com.opera.PluginPanel.run(PluginPanel.java:420)
at java.lang.Thread.run(Unknown Source)

This is Java 1.3, very old code. Try the equivalent examples in JDK
1.5

try this instead:
http://java.sun.com/docs/books/tutorial/index.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top