Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

Please tell me

Thread view: 
Jack - 06 Nov 2005 01:48 GMT
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.html
Luc The Perverse - 06 Nov 2005 02:17 GMT
> Could someone tell me if he tries these examples if these examples if they
> work?
[quoted text clipped - 3 lines]
>
> http://java.sun.com/j2se/1.3/docs/guide/awt/demos/lightweight/index.html

Have you tried clicking on the "if you have trouble running these applets
click here" . . .  link?

--
LTP

:)
Jack - 06 Nov 2005 02:55 GMT
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.

>> Could someone tell me if he tries these examples if these examples if
>> they work?
[quoted text clipped - 11 lines]
>
> :)
Andrew Thompson - 06 Nov 2005 02:18 GMT
> 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>
zero - 06 Nov 2005 04:24 GMT
> Could someone tell me if he tries these examples if these examples if
> they work?
[quoted text clipped - 4 lines]
> 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
Jack - 06 Nov 2005 13:54 GMT
txs

>> Could someone tell me if he tries these examples if these examples if
>> they work?
[quoted text clipped - 11 lines]
>
> http://java.sun.com/j2se/1.5/docs/guide/awt/demos/lightweight/index.html 
Roedy Green - 06 Nov 2005 09:14 GMT
>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/examp
le.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

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.