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

  • SEARCH
  • Home
  • 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 957733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:45:13+00:00 2026-05-16T00:45:13+00:00

I have a single .jar file that I create by using the runnable .jar

  • 0

I have a single .jar file that I create by using the runnable .jar file export function in Eclipse. This file runs flawlessly when you just download it and run it. Now I’m trying to embed it in an HTML file, but having trouble.

Here is the standalone jar

Here is the page where I attempt to embed the .jar file. I could not make it run on it’s own, but If I took the Main.class file from the bin/ directory of my Project and included that too, it almost works.

<html>
<head><title>Voronoi Cells</title></head>
<body>
<applet code="Main.class" archive="Voronoi_Standalone_Local.jar" width="600" Height="500">
</applet>
</body>
</html>

Here is that page online

With this arrangement, in Chrome, the applet shows, but the framerate is only around 1 fps.

It crashes Firefox.

It works fine it Safari!

Who cares what it does in IE.

What is the correct applet tag I should use? I would prefer to reference only the single standalone .jar file if possible. Why is the framerate so bad in Chrome?

  • 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-16T00:45:14+00:00Added an answer on May 16, 2026 at 12:45 am

    Nice one there.

    I would suggest adding a frame number counter and displaying it overlaid on the frame.

    My guess is that you will find that the update frequency putting the Java frame data inside the page is too low, so you have plenty of updates, but they don’t make it to the page.

    I would suggest opening a new JFrame and display in that to see if that helps. If yes, then this is a plugin issue to the “hole” in the browser page.

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

Sidebar

Related Questions

How to export to runnable java file with eclipse using slick and lwjgl (Light
I have a product that contains a Jar file in its distribution and I
I have a javadoc doclet that requires an additional jar file to be on
I have been using so many 3rd party libraries(jar files) that my CLASSPATH is
I have a .jar file called myfile.jar. Inside this jar file is a folder
I have a piece of software, contained in a single .jar that is doing
I have a requirement for my MAVEN build to pick a single jar from
I have A single page that has the following structure <form runat=server><placeholder></placeholder></form> I have
i have a single video (duration: 3 seconds) and i need to create 2
I have a single-view application that takes in a username and a password and

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.