Was trying to create an applet with Swing, but even with something simple..

import javax.swing.*;
public class batard extends JApplet
public void init()
     JTextField first = new JTextField();
     add(first);
I've been compiling this applet successfully, although I'm not able to run it under Explorer... Any help would be appreciated ;)

There are the errors I get:
java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at sun.applet.AppletSecurity.checkAccess(Unknown Source)
     at java.lang.ThreadGroup.checkAccess(Unknown Source)
     at java.lang.Thread.init(Unknown Source)
     at java.lang.Thread.<init>(Unknown Source)
     at javax.swing.TimerQueue.start(Unknown Source)
     at javax.swing.TimerQueue.<init>(Unknown Source)
     at javax.swing.TimerQueue.sharedInstance(Unknown Source)
     at javax.swing.JApplet.<init>(Unknown Source)
     at batard.<init>(batard.java:4)
     at java.lang.Class.newInstance0(Native Method)
     at java.lang.Class.newInstance(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)

Similar Messages

Maybe you are looking for

  • IPhone 4S skipping songs/won't play some

    I recently updated my iPhone 4S, in doing so, I had to reset it and restore it from my back up. Now that I've done that, when I'm playing music from my iTunes, it wil skip the most recently added songs and won't play them at all if you try and click

  • Combo box in a table column

    I have dragged and dropped one of my view objects as a table on a JClient form. Is there a way I can show one of the columns as a combo box? Milos

  • How to post actual COGS to PA

    Dear all, When we create billing document, revenue and COGS(cost of goods sold) will be posted to PA. This COGS is standard cost which got from condition type VPRS, however, it is not actual cost now. After we run material ledger, actual cost is calc

  • Doubt on dialog

    hi experts       I am new to the dialog programming.      My requirement is      1) I have Sales document as Input in the Screen (vbeln)     2) After enter vbeln then I press enter key, then i need to display the Sales        document details like Ma

  • Steps for configuring Outbound Idoc OILSHI01

    Hi experts,     can anybody tell me the steps how to configure an Outbound IDOC.     It is better if somebody can take Shipment IDOC of IS-Oil - OILSHI01.     if not anything else will also do.     Kindly give me steps in detailed. Since i have never