Skip to content
View in the app

A better way to browse. Learn more.

The Daily Neopets Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem With Jar File/HTML File (JApplet)

Featured Replies

Here's my HTML file:

 

<HTML>

<HEAD>

<TITLE>Hangman</TITLE>

</HEAD>

<BODY>

<applet code="Hangman.jar" width="500" height ="200" codebase="." archive="file:/C:/Java/Hangman/" alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."

>

Your browser is ignoring the <APPLET> tag!

 

</applet>

 

</BODY>

</HTML>

 

Here's my error message when I go to try and run it:

 

x5nol2.jpg

 

Don't know what to do, mainly because the error is non-sensical.

  • 3 months later...

Do you still need help with this?

 

I would have to delve into Sun's Oracle's tutorials, but it looks like tutorial code and I can't see anything obviously wrong with it. I'm not quite sure what goes into the archive attribute on the applet tag though, and whether a directory is the right value.

 

How'd you write this code, did you use a reference or a tutorial, or a book? If so, the original link might be helpful as there could be some important context there.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.