Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3979044
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:07:18+00:00 2026-05-20T05:07:18+00:00

After successfully creating some applets, I embedded them in a webpage and discovered that

  • 0

After successfully creating some applets, I embedded them in a webpage and discovered that ALL the class files must be included. Leave one out and it won’t work.

After several iterations of an Applet, there are several class files:
filename.class
filename$1.class
filename$2.class, etc.

I tried using only the filename.class, tried just the last one, tried the first and last… but, as I said, all the class files must be included for the webpage.

Question(s):
1) The filename$n.class (n=some number) files seem to be created at the whim of Eclipse – is there an explanation of this (I searched w/o success)?

2) Even though the class files are only ~4kb, How do I do a cleanup such as to blow away all the filename$n.class files and still be able to embed in a webpage?

Any recommendations?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:07:18+00:00Added an answer on May 20, 2026 at 5:07 am

    These classes are created from anonymous classes created in your applet – most likely event listeners and such.

    They would be created (maybe with other names) by other compilers, too.

    If you really want to avoid them, program without anonymous (and other inner) classes. But this results often in an ugly style, so this is not recommended.

    If you don’t want to upload all the individual class files to the server (and then the browsers having to fetch them all individually), think about putting them all in one jar file, and referencing this in your applet-tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating some temporary files in the iPad simulator. To test my file creation,
After following the advice in this question successfully, I added a couple additional lines
After being told by at least 10 people on SO that version control was
Update: Ok, after getting past the fact that I did not have MSDTC set
hey guys, I've followed some tutorials online regarding creating and installing a windows service
After successfully building the distribution version of my app for submission to iTunes Connect,
I am creating multiple select element like this and it is showed successfully on
I've been working with core data (successfully ;) , following some tutorials and kind
Having integrated merb_auth_password_slice as per the README, I can successfully login as redirect_after_login is
Shell (explorer.exe www.google.com) is how I'm currently opening my products ad page after successful

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.