Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

java Applet

Posted on 1997-03-26
3
197 Views
Last Modified: 2013-11-23
I am using AppletAce and I have made some applets to put on my web site.  The problem is they will not work on my site.  They work fine when I load the page from my hard drive.  But from my site I get 1 of 2 errors.  Either it says "Can't find class Banners" or is says something like "java.lang.format.error"  I am sure it is a simple fix but I can't seem to find it.
If you would like to see the page it is at
http://www.magicnet.net/~coffkid/test.htm

thank you
Todd
0
Comment
Question by:coffkid
3 Comments
 
LVL 1

Expert Comment

by:tatti
ID: 1219227
The page you pointed to did not contain any applets, as far as I could see.
0
 

Author Comment

by:coffkid
ID: 1219228
Edited text of question
0
 
LVL 2

Accepted Solution

by:
majkl earned 50 total points
ID: 1219229
Well.
1. Applet loadder probably cannot find classes, because you have it on your hard drive placed elsewhere than on the web page. If you want to load other classes than from standard JDK packages, then is the best thing to put them in same directory from where applet was loaded. You probably have somewhere in applet import statement like import my.clasess.Banners . Tru to put it to same directory as our applet and dont use thi import statement.
2.There was problem when you upload classes. You choose the wrong mode (binary/ascii). Try it again!
This should help!

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 120
spring jars download 1 35
add projects t working set in maven 2 23
Java basic valueOf question 1 29
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

838 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