The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Applet is not starting

Posted by Radu Colceriu on November 07, 2000 at 10:55 AM

Hi,

I've made an Applet using Forte for java frm sun. I work on a NT machine. If I launch the Applet from Forte Java It is working good. If I started from IE5.5 (HTML file) the applet is shown in the page but lokks like not running. If I press a button the button is not shown as "pressed" but the event is triggered. The scrollbars are not working, if I set the text for a JEditorPanel by programm the text is not showned but when I use getText() the correct text is returned. The Java console looks like:

========================================================
com.ms.security.SecurityExceptionEx[CoEditor.initComponents]: java.io.IOException: bad path: C:\WINNT\Java\lib\swing.properties
at com/ms/security/permissions/FileIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkRead
at java/io/FileInputStream.
at java/io/FileInputStream.
at javax/swing/UIManager$3.run
at javax/swing/SwingUtilities.doPrivileged
at javax/swing/UIManager.loadSwingProperties
at javax/swing/UIManager.initialize
at javax/swing/UIManager.maybeInitialize
at javax/swing/UIManager.getUI
at javax/swing/JPanel.updateUI
at javax/swing/JPanel.
at javax/swing/JPanel.
at CoEditor.initComponents
at CoEditor.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
com.ms.security.SecurityExceptionEx[CoEditor.initComponents]: Event queue access denied.
at com/ms/security/permissions/UIPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkAwtEventQueueAccess
at java/awt/Toolkit.getSystemEventQueue
at javax/swing/SystemEventQueueUtilities$SystemEventQueue.init
at javax/swing/SystemEventQueueUtilities$SystemEventQueue.get
at javax/swing/SystemEventQueueUtilities.postRunnable
at javax/swing/SwingUtilities.invokeLater
at javax/swing/text/StyleContext.reclaim
at javax/swing/text/StyleContext.addAttribute
at javax/swing/text/html/StyleSheet.addAttribute
at javax/swing/text/StyleContext$NamedStyle.addAttribute
at javax/swing/text/StyleContext.addStyle
at javax/swing/text/html/StyleSheet.addRule
at javax/swing/text/html/StyleSheet$CssParser.addRule
at javax/swing/text/html/StyleSheet$CssParser.parse
at javax/swing/text/html/StyleSheet.loadRules
at javax/swing/text/html/HTMLEditorKit.getStyleSheet
at javax/swing/text/html/HTMLEditorKit.createDefaultDocument
at javax/swing/JEditorPane.setEditorKit
at javax/swing/JEditorPane.setContentType
at CoEditor.initComponents
at CoEditor.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
Swing: checked access to system event queue.
===================================

Please, have you any ideea why this applet dowsn't run?

Thanks,
Radu



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us