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 7712171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:33:46+00:00 2026-06-01T01:33:46+00:00

Okay, I am going to go through ALL my steps thus far just so

  • 0

Okay, I am going to go through ALL my steps thus far just so that this process can be sped up hopefully. I have done this before, but it was awhile back and I forgot how, but I know it is possible.

  1. I made a Neatbeans created Java Application.
    Then doing what this article said (and I rememeber doing this for the other program) I did the following:
  1. Right-click the package containing your app and choose New | Other.
  2. Select the Swing GUI Forms category and choose JApplet Form. (This template is one of several applet templates, but this one is the one you want to create a JApplet that you can design in the GUI Builder.)
  3. In the editor window, select the tab for the form that you want to convert to an applet.
  4. In the Inspector window, select the sub-components of the form and press Ctrl-C (or Ctrl-X) to copy them.
  5. In the editor window, select the tab for the JApplet form that you have just created.
  6. In the Inspector window, right-click the JApplet node and press Ctrl-V to paste the components.

2.After that I right-clicked my project “ConsulantsStaff” (yes it is spelled wrong) and I went to Web Start and made the following changes:
enter image description here

3.I then ran Clean and Build, then uploaded the files from the projects “dist” folder online.
The files were: ConsulantsStaff.jar, launch.html, launch.jnlp

4.I then tried to incorporate that into a HTML file, which now looks like this:

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><!-- ########################## IMPORTANT NOTE ############################ --><!-- This preview HTML page will work only with JDK 6 update 10 and higher! --><!-- ###################################################################### -->
    <html>
    <head>
    <title>Consulants Applet</title>
    </head>
    <body>
    <body bgcolor="#000000">
    <h3></h3>
    <script src="http://java.com/js/deployJava.js"></script>
    <script>
    var attributes = {
    code: "mypackage.consulantsstaff",
    archive: "consulantsstaff.jar",
    width: 800,
    height: 740
    };
    var parameters = {jnlp_href:"launch.jnlp"}; <!-- Applet Parameters -->
    var version = "1.5"; <!-- Required Java Version -->
    deployJava.runApplet(attributes, parameters, version);
    </script><!-- Or use the following applet element to launch the applet using jnlp_href --><!--
    <applet width="300" height="300">
    <param name="jnlp_href" value="launch.jnlp"/></applet>
    -->
    </body>
    </html>

So…yea, the only step I truly remember doing is step 1, the rest I am winging and so far it is not working.
The current location of this applet is here, it is just a black screen right now: Applet

Any and all help appreciated,
-Austin
(I have this post running on two sites as I need an answer ASAP, and thank you all in advance!)

  • 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-06-01T01:33:47+00:00Added an answer on June 1, 2026 at 1:33 am
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.0)
    ...
        at javax.swing.JFrame.setDefaultCloseOperation(JFrame.java:372)
        at consulantsstaff.UpdateUser.initComponents(UpdateUser.java:48)
    

    Did you call ..

    JFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
    

    ..on line 48 of UpdateUser? That is my best guess. Even a trusted applet is not allowed to exit the VM (or to create a frame that does the same).

    BTW – you really should have figured this out before getting to 44 Kb of signed code!


    Perhaps this app. actually needs to be a JFrame based app. that is launched from a link using Java Web Start (for many reasons, including that a sand-boxed frame launched using JWS can make that method call without problems).

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

Sidebar

Related Questions

I have a process that's going to initially generate 3-4 million PDF files, and
Okay, so I've noticed, going through some programs other people have written (for education
Okay, I know this question doesn't show research effort, but I've been going through
Okay I have tried this from every angle I can think of and I
Is it okay to get a read-only collection from an aggregate without going through
Okay, so I'm going to take the off chance that someone here has used
Okay, this is going to be hard to explain but here goes nothing: Lately
Okay, next PHPExcel question. I have an HTML form that users fill out and
Okay this question is very simple: I have a facebook page, and a website.
Okay, this is driving me crazy right now. I want to have a border

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.