Need help with applet related problems

First of all hello to everyone. I'm new to this forum. I usually can solve my problems google-ing around, but this time I just ran out of ideas.
I'm trying to develop a jni applet that can run native code for performance. I used netbeans so far and the applet works great when run from within the ide. At some point a managed to make the applet run inside firefox and iexplore, however somehow i screwed something up and now i can't make it run anymore. I don't really know what i did but i think it may be related to these lines in the console since everything up until awt works fine in the applet:
basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
basic: Native library jawt.dll not found
Ofc i may be wrong.
This also my be a local problem because a friend of mine tried the applet himself and said it's working.
All the jars are selfsigned.
below i posted the console output in case you want to take a look. Also I am interested about the "try again.." messages that seem to pop over and over again.
Java Plug-in 1.6.0_27
Using JRE version 1.6.0_27-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Gladiator
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : 200
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : null
network: Sever response: (length: 564, lastModified: Wed Sep 07 16:30:17 EEST 2011, downloadVersion: null, mimeType: application/x-java-jnlp-file)
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
     Content-Length: 564
     Content-Encoding: null
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\57\7465fe39-7a36cd96-temp
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
temp: new XMLParser with source:
temp: <?xml version="1.0" encoding="UTF-8"?>
<jnlp href="launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<jar href="SpaceGame.jar" main="true" />
</resources>
<resources os="Windows">
<nativelib href="lib/swt.jar"/>
</resources>
<applet-desc
name="test app"
main-class="javatest.JTest"
width="800"
height="600">
</applet-desc>
<security>
<all-permissions/>
</security>
</jnlp>
temp:
returning ROOT as follows:
<jnlp href="launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="SpaceGame.jar" main="true"/>
</resources>
<resources os="Windows">
<nativelib href="lib/swt.jar"/>
</resources>
<applet-desc name="test app" main-class="javatest.JTest" width="800" height="600"/>
<security>
<all-permissions/>
</security>
</jnlp>
temp: returning LaunchDesc from XMLFormat.parse():
<jnlp spec="1.0+" codebase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/" href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
<homepage href="null"/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
<jar href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar" download="eager" main="true"/>
<nativelib href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar" download="eager" main="false"/>
</resources>
<applet-desc name="test app" main-class="javatest.JTest" documentbase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.html" width="800" height="600"/>
</jnlp>
network: CleanupThread used 16572 us
basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
network: No Custom Progress jar
network: LaunchDownload: concurrent downloads from LD: 4
network: Total size to download: -1
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : 200
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : 200
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : null
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : null
network: Sever response: (length: 12948, lastModified: Tue Sep 06 22:46:50 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
network: Sever response: (length: 2007707, lastModified: Tue Sep 06 22:47:10 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
network: CleanupThread used 1 us
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
     Content-Length: 12,948
     Content-Encoding: null
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
     Content-Length: 2,007,707
     Content-Encoding: null
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c-temp
network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar , version null...
security: Blacklist revocation check is enabled
security: Trusted libraries list check is enabled
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
network: CleanupThread used 1 us
network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/5/26fb4185-10c9079c
network: Download Progress: jarsDone: 1
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-temp
network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar , version null...
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
network: CleanupThread used 2 us
network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/10/1082924a-7851bf5e
network: Download Progress: jarsDone: 2
network: Created version ID: 1.6+
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
basic: LaunchDesc location: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
network: Created version ID: 1.0+
network: Created version ID: 6.0.18
security: Validating signatures for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
security: TustedSet null
security: Empty trusted set for [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp]
security: Round 1 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
security: Entry [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar] is not prevalidated. Revert to full validation of this JAR.
security: Round 2 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c com.sun.deploy.cache.CachedJarFile@698403
security: Round 2 (1 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e com.sun.deploy.cache.CachedJarFile@e80842
security: Have 1 common certificates after processing file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
security: Istrusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp false
security: Accessing keys and certificate in Mozilla user profile: null
security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
security: User has granted the priviledges to the code for this session only
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
security: Mark trusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
basic: LD - All JAR files signed: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
basic: passing security checks; secureArgs:true, allSigned:false
basic: continuing launch in this VM
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: JNLP2ClassLoader.findClass: javatest.JTest: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: JNLP2ClassLoader.getPermissions() X
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.events.PaintListener: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
basic: JNLP2ClassLoader.getPermissions() X
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SWTEventListener: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Drawable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Layout: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.layout.FillLayout: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Composite: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Scrollable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Control: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Widget: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Shell: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Decorations: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Canvas: try again ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 81605 us, pluginInit dt 2397573 us, TotalTime: 2479178 us
basic: JNLP2ClassLoader.findClass: javatest.JTest$1: try again ..
basic: Applet initialized
C:\Users\Gladiator\AppData\Roaming
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display: try again ..
basic: Removed progress listener: null
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Device: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRIC: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Event: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.C: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Platform: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEX: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Lock: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Library: try again ..
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TCHAR: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.ACTCTX: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.DLLVERSIONINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.STARTUPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display$1: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Font: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Resource: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Callback: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WNDCLASS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TaskBar: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Listener: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PAINTSTRUCT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GCData: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GC: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PROPERTYKEY: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.HIGHCONTRAST: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.MSG: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Synchronizer: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTError: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTException: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Cursor: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMHDR: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMLVDISPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT: try again ..
basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
basic: Native library jawt.dll not found
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-awt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-awt-win32-3735.dll
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.MenuItem: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Item: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Menu: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.ToolTip: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$11: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$13: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.EventTable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WINDOWPOS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LRESULT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.RECT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Point: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SerializableCompatibility: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Rectangle: try again ..
basic: JNLP2ClassLoader.findClass: javatest.JTest$3: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TypedListener: try again ..
-----

I am sorry for bold, i came here to ask for help. I used bold to differentiate output from my questions since i couldn't find tags.
I already validated jnlp using JaNeLA and got only optimization suggestions.
As I said in first post, this works for a friend of mine, so it's possible a local issue with my java or something ...
Also i reinstalled jre/jdk 7.0, then uninstalled and installed latest jre/jdk 6.
Hope I didn't leave a bad impression, i just want help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Need help with applet servlet communication .. not able to get OutputStream

    i am facing problem with applet and servlet communication. i need to send few image files from my applet to the servlet to save those images in DB.
    i need help with sending image data to my servlet.
    below is my sample program which i am trying.
    java source code which i am using in my applet ..
    public class Test {
        public static void main(String argv[]) {
            try {
                    URL serverURL = new URL("http://localhost:8084/uploadApp/TestServlet");
                    URLConnection connection = serverURL.openConnection();
                    Intermediate value=new Intermediate();
                    value.setUserId("user123");
                    connection.setDoInput(true);
                    connection.setDoOutput(true);
                    connection.setUseCaches(false);
                    connection.setDefaultUseCaches(false);
                    // Specify the content type that we will send binary data
                    connection.setRequestProperty ("Content-Type", "application/octet-stream");
                    ObjectOutputStream outputStream = new ObjectOutputStream(connection.getOutputStream());
                    outputStream.writeObject(value);
                    outputStream.flush();
                    outputStream.close();
                } catch (MalformedURLException ex) {
                    System.out.println(ex.getMessage());
                }  catch (IOException ex) {
                        System.out.println(ex.getMessage());
    }servlet code here ..
    public class TestServlet extends HttpServlet {
         * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
         * @throws ServletException if a servlet-specific error occurs
         * @throws IOException if an I/O error occurs
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
             System.out.println(" in servlet -----------");
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            ObjectInputStream inputFromApplet = null;
            Intermediate aStudent = null;
            BufferedReader inTest = null;
            try {         
                // get an input stream from the applet
                inputFromApplet = new ObjectInputStream(request.getInputStream());
                // read the serialized object data from applet
                data = (Intermediate) inputFromApplet.readObject();
                System.out.println("userid in servlet -----------"+ data.getUserId());
                inputFromApplet.close();
            } catch (Exception e) {
                e.printStackTrace();
                System.err.println("WARNING! filename.path JNDI not found");
            } finally {
                out.close();
        @Override
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            System.out.println(" in foGet -----------");
            processRequest(request, response);
         * Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
         * @throws ServletException if a servlet-specific error occurs
         * @throws IOException if an I/O error occurs
        @Override
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            System.out.println(" in doPost -----------");
            processRequest(request, response);
         * Returns a short description of the servlet.
         * @return a String containing servlet description
        @Override
        public String getServletInfo() {
            return "Short description";
        }// </editor-fold>
    }the Intermediate class ..
    import java.io.Serializable;
    public class Intermediate implements Serializable{
    String userId;
        public String getUserId() {
            return userId;
        public void setUserId(String userId) {
            this.userId = userId;
    }

    Hi,
    well i am not able to get any value from connection.getOutputStream() and i doubt my applet is not able to hit the servlet. could you review my code and tell me if it has some bug somewhere. and more over i want to know how to send multiple file data from applet to servlet . i want some sample or example if possible.
    do share if you have any experience of this sort..
    Thanks.

  • Please I really need help with this video problem.

    Hi!
    Please I need help with this app I am trying to make for an Android cellphone and I've been struggling with this for a couple of months.
    I have a main flash file (video player.fla) that will load external swf files. This is the main screen.When I click the Sets Anteriores button I want to open another swf file called sets.swf.The app is freezing when I click Sets Anteriores button
    Here is the code for this fla file.
    import flash.events.MouseEvent;
    preloaderBar.visible = false;
    var loader:Loader = new Loader();
    btHome.enabled = false;
    var filme : String = "";
    carregaFilme("home.swf");
    function carregaFilme(filme : String ) :void
      var reqMovie:URLRequest = new URLRequest(filme);
      loader.load(reqMovie);
      loader.contentLoaderInfo.addEventListener(Event.OPEN,comeco);
      loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progresso);
      loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completo);
      palco.addChild(loader); 
    function comeco(event:Event):void
              preloaderBar.visible = true;
              preloaderBar.barra.scaleX = 0;
    function progresso(e:ProgressEvent):void
              var perc:Number = e.bytesLoaded / e.bytesTotal;
              preloaderBar.percent.text = Math.ceil(perc*100).toString();
              preloaderBar.barra.scaleX =  perc;
    function completo(e:Event):void
              preloaderBar.percent.text = '';
              preloaderBar.visible = false;
    btHome.addEventListener(MouseEvent.MOUSE_DOWN,onHomeDown);
    btHome.addEventListener(MouseEvent.MOUSE_UP,onHomeUp);
    btSets.addEventListener(MouseEvent.MOUSE_DOWN,onSetsDown);
    btSets.addEventListener(MouseEvent.MOUSE_UP,onSetsUp);
    btVivo.addEventListener(MouseEvent.MOUSE_DOWN,onVivoDown);
    btVivo.addEventListener(MouseEvent.MOUSE_UP,onVivoUp);
    btHome.addEventListener(MouseEvent.CLICK,onHomeClick);
    btSets.addEventListener(MouseEvent.CLICK,onSetsClick);
    function onSetsClick(Event : MouseEvent) : void
              if (filme != "sets.swf")
                          filme = "sets.swf";
                          carregaFilme("sets.swf");
    function onHomeClick(Event : MouseEvent) : void
              if (filme != "home.swf")
                          filme = "home.swf";
                          carregaFilme("home.swf");
    function onHomeDown(Event : MouseEvent) : void
              btHome.y += 1;
    function onHomeUp(Event : MouseEvent) : void
              btHome.y -= 1;
    function onSetsDown(Event : MouseEvent) : void
              btSets.y += 1;
    function onSetsUp(Event : MouseEvent) : void
              btSets.y -= 1;
    function onVivoDown(Event : MouseEvent) : void
              btVivo.y += 1;
    function onVivoUp(Event : MouseEvent) : void
              btVivo.y -= 1;
    Now this is the sets.fla file:
    Here is the code for sets.fla
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    var video:Video;
    var nc:NetConnection;
    var ns:NetStream;
    var t : Timer = new Timer(1000,0);
    var meta:Object = new Object();
    this.addEventListener(Event.ADDED_TO_STAGE,init);
    function init(e:Event):void{
    video= new Video(320, 240);
    addChild(video);
    video.x = 80;
    video.y = 100;
    nc= new NetConnection();
    nc.connect(null);
    ns = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS, onStatusEvent);
    ns.bufferTime = 1;
    ns.client = meta;
    video.attachNetStream(ns);
    ns.play("http://www.djchambinho.com/videos/segundaquinta.flv");
    ns.pause();
    t.addEventListener(TimerEvent.TIMER,timeHandler);
    t.start();
    function onStatusEvent(stat:Object):void
              trace(stat.info.code);
    meta.onMetaData = function(meta:Object)
              trace(meta.duration);
    function timeHandler(event : TimerEvent) : void
      if (ns.bytesLoaded>0&&ns.bytesLoaded == ns.bytesTotal )
                ns.resume();
                t.removeEventListener(TimerEvent.TIMER,timeHandler);
                t.stop();
    The problem is when I test it on my computer it works but when I upload it to my phone it freezes when I click Sets Anteriores button.
    Please help me with this problem I dont know what else to do.
    thank you

    My first guess is you're simply generating an error. You'll always want to load this on your device in quick debugging over USB so you can see any errors you're generating.
    Outside that, if you plan on accessing anything inside the SWF you should be loading the SWF into the correct context. Relevant sample code:
    var context:LoaderContext = new LoaderContext();
    context.securityDomain = SecurityDomain.currentDomain;
    context.applicationDomain = ApplicationDomain.currentDomain;
    var urlReq:URLRequest = new URLRequest("http://www.[your_domain_here].com/library.swf");
    var ldr:Loader = new Loader();
    ldr.load(urlReq, context);
    More information:
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7de0.html
    If you're doing this on iOS you'll need to stripped SWFs if you plan on using any coding (ABC) inside the files. You mentioned iOS so I won't get into that here, but just incase, here's info on stripping external SWFs:
    http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/

  • I need help with a browser problem

    I am was given a new iMac G3 (from 2001) which was really never used.I have not yet had any serious problems with it, but really could use some help with a browser problem.
    I have 4 different web browsers that needs the macro media flash player update. The browsers I use are internet explorer, iCab, Netscape, and the original Mozilla Firefox.
    It would be of great appreciation for the readers of this post to answer my question.
    I am also having the problem with installing the plug - ins for the browsers. Thank You For Taking the Time To read This!

    Hi, rynodino -
    As Tom has suggested, plugins need to be installed in the Plug-Ins folder for the browser.
    Typically each browser will have its own Plug-Ins folder, usually located in the same folder containing the browser itself. In order for each of several browsers to access the same plugins, the plugins must be replicated and placed in each of the Plug-Ins folders for each of the browsers. The easy way to do that is to hold down the Option key while dragging a plugin to the new location - a copy (not an alias) of the plugin will be generated at the location it is dragged to.
    Most plugins will display a Netscape icon regardless of where they are located - this is normal.
    It is not unusual for the installer for a plugin to default its install to the Plug-Ins folder for Internet Explorer. So be it. Just replicate the new plugin to the other Plug-Ins folders as needed.
    Note that some plugin installs will involve more than one item. For those, be sure to replicate all items for it. Using labels can help identify what is new, what has been most recently added, in a Plug-Ins folder.

  • Need help with this book problem...Pig game...can ANYONE help!??

    I need help with the following book problem...could someone write this code for me?? Thanks!!
    First design and implement a class called PairOfDice, composed of two six-sided Die objects. Using the PairOfDice class, design and implement a class to play a game called Pig. In this game, the user competes against the computer. On each turn, the current player rolls a pair of dice and accumulates points. The goal is to reach 100 points before your opponent does. If, on any turn, the player rolls a 1, all points accumulated for that round are forfeited and control of the dice moves to the other player. If the player rolls two 1s in one turn, the player loses all points accumulated thus far in the game and loses control of the dice. The player may voluntarily turn over the dice after each roll. Therefore the player must decide to either roll again (be a pig) and risk losing points, or relinquish control of the dice, possibly allowing the other player to win. Implement the computer player such that it always relinquishes the dice after accumulating 20 or more points in any given round.
    I realize this is a long code, so it would be greatly appreciated to anyone who writes this one for me, or can at least give me any parts of it. I honestly have no clue how to do this because our professor is a dumbass and just expects us to know how to do this...he doesn't teach us this stuff...don't ask. Anyways, thanks for taking the time to read this and I hope someone helps out!! Thank you in advance to anyone who does!!!

    Nasty comments? It's not a matter of not liking you, it's a matter of responding to the
    "I'ts everyone else's fault but mine" attitude of your post.
    If you are genuine, the program is very easy to write, so, your Professor is correct when he said you should
    be able to do it. I'm still very much in the beginner category at java, and it took me only 20 mins to write
    (+5 mins to design it on paper). 2 classes in one file < 100 lines. Most of the regulars here would do it in half the time / half the lines.
    All of the clues are in the description, break them down into their various if / else conditions. Write it down on paper.
    Have a go. Try to achieve something. Post what you've tried, no-one will laugh at you, and you will be
    pleasanty surprised at the level of help you will get when you've "obviously" made some effort.
    Again, have a go. If you don't like problem-solving, then you don't like programming. So, you gotta ask
    yourself - "what am I doin' here?"

  • Need help with Applet: Images

    DUKESTARS HERE, YOU KNOW YOU WANNA
    Hi,
    I'm designing an applet for some extra credit and I need help.
    This game that i have designed is called "Digit Place Game", but there is no need for me to explain the rules.
    The problem is with images.
    When I start the game using 'appletviewer', it goes to the main menu:
    http://img243.imageshack.us/img243/946/menuhy0.png
    Which is all good.
    But I decided that when you hover your cursor over one of the options such as: Two-Digits or Three-Digits, that the words that are hovered on turn green.
    http://img131.imageshack.us/img131/6231/select1ch3.png
    So i use the mouseMoved(MouseEvent e) from awt.event;
    The problem is that when i move the mouse around the applet has thick line blotches of gray/silver demonstrated below (note: these are not exact because my print screen doesn't take a picture of the blotches)
    http://img395.imageshack.us/img395/4974/annoyingmt1.png
    It also lags a little bit.
    I have 4 images in my image folder that's in the folder of the source code
    The first one has all text blue. The second one has the first option, Two-Digits green but rest blue. The third one has the second option, Three-Digits green but rest blue, etc.
    this is my code
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.event.*;
    import java.awt.*;
    public class DigitPlaceGame extends Applet implements MouseListener, MouseMotionListener {
         public boolean load = false;
         public boolean showStartUp = false;
         public boolean[] hoverButton = new boolean[3];
         Image load1;
         Image showStartUp1;
         Image showStartUp2;
         Image showStartUp3;
         Image showStartUp4;
         public void init() {
              load = true;
              this.resize(501, 501);
                   try {
                        load1 = getImage(getCodeBase(), "images/load1.gif");
                        repaint();
                   } catch (Exception e) {}
              load();
         public void start() {
         public void stop() {
         public void destroy() {
         public void paint(Graphics g) {
              if(load == true) {
                   g.drawImage(load1, 0, 0, null, this);
              } else if(showStartUp == true) {
                   if(hoverButton[0] == true) {
                        g.drawImage(showStartUp2, 0, 0, null, this);
                   } else if(hoverButton[1] == true) {
                        g.drawImage(showStartUp3, 0, 0, null, this);
                   } else if(hoverButton[2] == true) {
                        g.drawImage(showStartUp4, 0, 0, null, this);
                   } else {
                        g.drawImage(showStartUp1, 0, 0, null, this);
                        for(int i = 0; i < 3; i++) {
                             hoverButton[i] = false;
         public void load() {
              addMouseListener(this);
              addMouseMotionListener(this);
              showStartUp1 = getImage(getCodeBase(), "images/showStartUp1.gif");
              showStartUp2 = getImage(getCodeBase(), "images/showStartUp2.gif");
              showStartUp3 = getImage(getCodeBase(), "images/showStartUp3.gif");
              showStartUp4 = getImage(getCodeBase(), "images/showStartUp4.gif");
              showStartUp();
         public void showStartUp() {
              load = false;
              showStartUp = true;
         public void mouseClicked(MouseEvent e) {
              System.out.println("test");
         public void mouseMoved(MouseEvent e) {
              int x = e.getX();
              int y = e.getY();
              if(x >= 175 && x <= 330 && y >= 200 && y <= 235) {
                   hoverButton[0] = true;
                   repaint();
              } else if(x >= 175 && x <= 330 && y >= 250 && y <= 280) {
                   hoverButton[1] = true;
                   repaint();
              } else if(x >= 175 && x <= 330 && y >= 305 && y <= 335) {
                   hoverButton[2] = true;
                   repaint();
              } else {
                        for(int i = 0; i < 3; i++) {
                             hoverButton[i] = false;
                        repaint();
         public void mouseEntered(MouseEvent e) {
         public void mouseExited(MouseEvent e) {
         public void mousePressed(MouseEvent e) {
         public void mouseReleased(MouseEvent e) {
         public void mouseDragged(MouseEvent e) {
    }plox help me ploz, i need the extra credit for an A
    can you help me demolish the lag and stop the screen from flickering? thanks!!!!!
    BTW THIS IS EXTRA CREDIT NOT HOMework
    DUKESTARS HERE, YOU KNOW YOU WANNA
    Edited by: snoy on Nov 7, 2008 10:51 PM
    Edited by: snoy on Nov 7, 2008 10:53 PM

    Oh yes, I knew there could be some problem.......
    Now try this:
    boolean a,b,c;
    if((a=(x >= 175 && x <= 330 && y >= 200 && y <= 235)) && !hoverButton[0]) {
                   hoverButton[0] = true;
                   repaint();
              } else if((b=(x >= 175 && x <= 330 && y >= 250 && y <= 280)) && !hoverButton[1]) {
                   hoverButton[1] = true;
                   repaint();
              } else if((c=(x >= 175 && x <= 330 && y >= 305 && y <= 335)) && !hoverButton[2]) {
                   hoverButton[2] = true;
                   repaint();
              } else if ((!a && !b && !c)&&(hoverButton[0] || hoverButton[1] || hoverButton[2]){
                        for(int i = 0; i < 3; i++) {
                             hoverButton[i] = false;
                        repaint();
              }hope it works........
    Edited by: T.B.M on Nov 8, 2008 10:41 PM

  • Absolute Beginner needs help with applet

    Hello folks,
    I know I have already started a topic on this, but it was getting a bit long and I wasn't getting anywhere with it. Here's my problem... first of all, I am new to Java, especially with Applets. I attempted to create the HelloWorld applet from this site's First Cup of Java tutorial. I was able to compile the java file fine, but when I attemted to add the applet to an html file, I get a message at the bottom taskbar saying "load: class HelloWorld not found". I can't figure out what is wrong with my code. I have all my files (html, java, and class files) in one folder, with no subfolders at all. In case it matters, I'm on a Windows 98 machine with IE 6.0 for my browser. Here is the code:
    First my HelloWorld.java file, which, as I said, compiles with no problems
    import java.applet.*;
    import java.awt.*;
    * The HelloWorld class implements an applet that
    * simply displays "Hello World!".
    public class HelloWorld extends Applet {
         public void paint (Graphics g) {
              //Display "Hello World!"
              g.drawString("Hello World!", 50, 25);
    }And here is the HTML file which is supposed to display the applet:
    <html>
         <head>
              <title>A Simple Program</title>
         </head>
         <body>
              Here is the output of my program:
              <applet code="HelloWorld.class" width="150" height="25">
              </applet>
         </body>
    </html>Can someone please check this and see what, if anything, is wrong?

    Hi Chris,
    This isn't going to help much. I took your Java code
    and put it in a file HelloWorld.java. I took your HTML
    code and put it in a file HelloWorld.html. I compiled
    HelloWorld.java with javac so that I had HelloWorld.class.
    I then ran the program with appletviewer by typing
    appletviewer HelloWorld.html.
    It loaded and ran fine.
    Since that sounds like exactly what you are doing,
    I'm not sure what else to suggest. (I could also
    run it by opening the HTML file with IE.)
    There are only two things that still suggest themselves,
    and they seem like long-shots:
    1) Is the file named HelloWorld.java that contains your
    code (including the capital W)? This is obviously a
    long-shot because your code shouldn't compile if this
    was set incorrectly.
    2) Is it possible that you have the CLASSPATH environmental
    variable set? Some programs (like QuickTime for Java)
    will set the CLASSPATH and then Java just stops working.
    You can find out by typing SET at the command prompt and
    looking for CLASSPATH. If you find it, then you'll probably
    need to remove it from your AUTOEXEC.BAT (in Windows 98),
    or update it to include the runtime classes for the SDK.
    --Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Need help with Math related operations...

    I'm learning JAVA for more than 3 weeks and I really need help...
    I'm using SDK1.4 with Elixir IDE Lite (+patch installed).
    In the following screenshot <http://www.geocities.com/jonny_fyy/pics/java1.png>, I've got this error (when I right-click -> Compile) . Do you know what it means & how can I solve it?
    Here's how it should look if correct (pic scan from lab worksheet)... <http://www.geocities.com/jonny_fyy/pics/lab.jpg>
    Here's my java file... <http://www.geocities.com/jonny_fyy/FahToCeltxt.java>
    Thanks for helping :>

    Hi jonny
    One step ahead:
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class FahToCeltxt extends Applet implements ActionListener {
         TextField msgField ;
         String msg = null;
         int msgValue;
         Label title;
         Button b;
         public void init() {
              title = new Label("Enter degrees in Fahrenheit: ");
              add(title);
              msgField = new TextField (10);
              add(msgField);
    //          msgField.addTextListener(this);
              b = new Button("Convert");
              b.addActionListener(this);
              add(b);
    //     public void textValueChanged(TextEvent event) {
    //          msgValue = Integer.parseInt(msgField.getText());
    //          repaint();
         public void paint (Graphics g) {
              int result = (msgValue - 32) * 5/9 ;
              g.drawString("Degree Centigrade is " + result , 50, 50);
      public void actionPerformed(ActionEvent e) {
              msgValue = Integer.parseInt(msgField.getText());
              repaint();
    }Regards.

  • Need help with simple mask problem

    hi there this is mark from superbooty a band that has played in the bay area for over 10 years...
    i was wondering if someone could help me with a Motion2 problem i'm having regarding masks.
    i'm working on this simple animated scene of a car going by a beach - the photo is from the passenger side and shows the outside mirror.
    i'm moving the background (different from the original that came with the car) and i want to move an image of tokyo inside the mirror housing too.
    i figured out how to do the mask but when i try to animate the image of tokyo the mask layer moves with it. when i lock the mask i can't move the image - ???
    there's got to be a way to lock the mask but be able to move what it is masking..
    here are the links to three images that show what the problem is - the first is
    the shot of the scene unmasked, shot 2 is the scene with the mask enabled, and the third is the shot when i try to animate the tokyo background:
    http://superbooty.com/mirrorbeach1.jpg
    http://superbooty.com/mirrorbeach2.jpg
    http://superbooty.com/mirrorbeach3.jpg
    any help would be most appreciated - thanks!

    Adam's solution is the one I'd use - put the mirror contents in a layer, mask the layer, then manipulate the mirror content image. Did this solve it for you - if so, please click on the or buttons over posts as appropriate...
    Patrick

  • I need help with Applets and Multithreading

    [hello all.  first time poster. big fan of java.]
    now to the important matter: Applets and Threads
    =======================================
    1) I have an applet with that implements the runnable interface, and has one thread (and a simple animation). If I try to view this applet in the applet viewer with JGrasp, it spits an insane error telling me
    "java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)"
    but, if I run the applet through a web browser, by putting it in an html document, it runs correctly, without error
    What on earth is wrong, and how do I fix it?!?
    2) I want to put 2 threads in my applet?
    If I implement the Runnable interface, I can only have one Run() method in my applet, right?
    So how do I define behaviour for 2 threads when I only have one run method in which to define the behaviour? Can I use two threads with the runnable interface, or do I have to make objects of my own defined thread classes?
    3) I tried to make 2 threads in my applet by creating my own thread classes, and instantiating them in my applet (instead of implementing the runnable interface).
    I still get the same insane error as I mentioned in my first point (which I expected), except now, the applet won't work even when viewed through a web browser!!
    Please please help me. I am frustrated beyond belief (at what is probably a very simple problem)
    I have searched and searched all over and found no answers on this

    If I try to view this applet in the applet viewer with JGrasp, it spits an insane error telling me
    "java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)"Don't know anything about JGrasp, but it runs with pretty tight security - thats what this insane error is all about. Use the appletviewer or a browser.
    If I implement the Runnable interface, I can only have one Run() method in my applet, right?Correct
    So how do I define behaviour for 2 threads when I only have one run method in which to define the behaviour?
    Can I use two threads with the runnable interface, or do I have to make objects of my own defined thread classes?You can create two Runnable implementations (classes) in your applet.
    example (missing code)
    class MyApplet extends Applet {
      void doSomething() {
      void doSomethingElse() {
      void startThreads() {
        Thread t = new Thread(new Runnable() { public void run() { doSomething();}});
        t.start();
        t = new Thread(new Runnable2());
        t.start();
      class Runnable2 implements Runnable {
         public void run() {
           doSomethingElse();
    }If the above seems confusing, read up on anonymous and inner classes.
    3) I tried to make 2 threads in my applet by creating my own thread classesTry not subclassing thread - this causes a security check

  • Soldier in Afghanistan needs help with MBPro display problem

    My son is in the Army Infantry (Airborne). His unit is currently stationed in southern Afghanistan on a small Combat Outpost (COP), where he will be for about 8 more months. He has had a MBPro since mid-2008, and his AppleCare Extended warranty is still in affect. This is his description of the state of his MBPro:
    "hey dad, an update. I got the mac to boot using PRM reset. Now, it makes the boot noise and the keyboard lights up but the LCD screen still wont come up. From my online research it seems my nvidia graphics card has gone out. Something which can be repaired cheaply at an apple store. However, i have no way to mail back my computer and the repair involves tearing apart the logic board to replace the video card."
    I called Apple and was told Apple must receive the laptop stateside. As my son said, it is impossible for him, a lowly Specialist, to ship anything home. The guys in his unit are resourceful, and they do have the tools needed to attempt repairs (spuds, etc.). However, we would have to get a replacement logic board to him (at our expense), and we've looked at www.ifixit.com and found the tutorial for replacing a logic board. I personally would never attempt such a repair, even though I have myself replaced a hard drive in my PB and the power port in my wife's laptop. The logic board is WAY under everything else, and the chances of a screw-up are great. And, of course, the Apple warranty would be voided.
    Does anyone have enough experience with logic board repairs to say they SHOULD attempt the repair on site? OR, is there anyone in the military who can suggest a way to actually get this Apple "brick" stateside for repair under the warranty?

    To be fair to Apple, their warranty does state that the need for a repair/replacement must be shown to be necessary to their satisfaction. That means they have to have the MBPro in their hands to examine it. At this time, we cannot prove that the Nvidia card on the LB has failed. Over the 20+ years I've used Apple computers, they've been very good at honoring their warranties. It's not Apple's fault that my son is in a rather faraway place. How many other high tech companies do you know of who have coverage arrangements in this kind of situation? We're not expecting Apple to do anything more for us right now. If we can get the MBPro stateside, I'm sure Apple will treat us well.
    As for a cheap PC laptop, well, that probably wouldn't be a good solution, either. My son is a gamer and uses Windows on the MBPro only for games not available under OS X. The MBPro is an OK, but not great, PC game laptop. However, a cheap PC laptop would probably be WORSE for gaming, so it wouldn't be a good buy. An expensive gamer PC is not an option, as my son hates Windows!
    So, there's our conundrum. Right now, it looks like our best solution would be to get a used MBPro (non-Nvidia!), ship it (hoping it gets there in one piece), then swap the memory from the broken machine into the replacement. This will not void the Extended Warranty. Then my son can re-install his data (and Windows) from the external drive that he uses for Time Machine. That's the current idea, anyway.
    All-in-all, while this is a complicated problem with no easy solution, it's not that big a deal, relative to everything that's going on in my son's life.
    Thanks for your suggestions!

  • Need help with a "simple" problem :)

    Hello everyone!!
    I would be very glad if anyone could help me! I created a
    test with AW and it works very well. My problem is that in the
    ".txt" file that is created (appendextfile), the "firsttrycorrect"
    responses keep adding themselves among the exercices. How can I do
    to set the count to zero, so that each exercise has is own number
    of correct responses? Do I have to restart the file everytime??!
    Thx in advance...

    Just to be clear: You are using the FirstTryCorrect variable,
    and you want
    the FirstTryCorrect variable to reset when you go to the next
    exercise? Try
    Initialize(FirstTryCorrect) at the beginning of the next
    exercise.
    HTH;
    Amy
    "oukaischunomai" <[email protected]> wrote
    in message
    news:fmo42t$s7o$[email protected]..
    > Thx to have read me :) I'll try to be clear, but I'm
    sorry I don't know AW
    > 7
    > very well and my english is not that good...! So I'm
    creating a program:
    > first
    > of all, the person has to enter her/his name
    ("username") and a .txt file
    > is
    > being created at her/his name. Then the person has to
    click on a button
    > to
    > choose what she/he wants to study (she/he has the choice
    between 3
    > exercices:
    > active/passive/relative sentences). In all exercises,
    the person has to
    > read a
    > written sentence, then choose the image corresponding to
    the sentence
    > between 4
    > choices and finally click on it (I created an
    interaction and 3 responses
    > have
    > the "wrong" status and only 1 has the "correct" status).
    Then it goes to
    > the
    > next sentence. At the end of each exercise
    (active/passive/relative), the
    > results are written in the .txt file previously created
    (I simply put:
    > AppendExtFile (Username^".txt"; FirstTryCorrect) ), so I
    can have a
    > feedback
    > about the performances of the person... I hope it's
    clear enough for the
    > moment? :) My problem is: when the person begins the 2nd
    exercise
    > (passive),
    > the correct responses are keeping adding themselves to
    them of the 1st
    > exercise
    > (active). So my question is, how can I do, so that the
    "correct response
    > counter" is back to 0 at the beginning of each new
    exercise??
    >

  • Novice user needs help with associations (strange problem)

    Background
    =======
    I am in the process of updating several Hyperion reports from version 8.3 to 9.3.
    Each reports contains a number of sections/frames (eg. Home, Segments, Basic, Location, etc), and each frame contains several items - tables, pivot tables and charts.
    Three out of the four reports are working perfectly, and when I connect to each using Dashboard Studio (DS) I can see that the associations for all the items are assigned correctly.
    The problem
    ========
    Report 4 only has associations assigned to two of the sections, but the basic functionality (selecting stuff to update charts and tables etc) is working.
    I now need to enable the "export" and "sort" buttons in the remaining sections and the only way to do this is to associate the remaining sections using DS. After doing this via the "make a best-guess association" button, the basic functionality is now broken - many charts, pivots and tables have had their visible properties turned off.
    Observations
    =========
    All four reports have the following lines of code at the top of each section:
    if (ActiveDocument.Qiq_blnTemplateInitialized)
    { ActiveDocument.Qiq_clsGlobals.Qiq_base_Frame_OnActivate(this) }
    If I remove this code in report 4 the basic functionality is restored but there are now issues with the drop-down lists not returning to their initial (unselected) states.
    So I think the issue is related to associations and frames. Any thoughts?
    Thankyou
    Jon

    I would suggest you try a fresh installation of Leopard on your computer. Make sure you back-up your files that you want to keep before proceeding.
    Use the install disc that came with your computer, either by inserting the disc in your disc drive and restarting the computer while holding down the c key, or by initiating the installer from the window that opens automatically when the disc is inserted.
    Follow the prompts once presented with the installation environment, but watch for an "Options" button in the lower-left corner of the window. When presented with this, choose "Erase & Install" and select "Mac OS Extended (Journaling)". Continue to the next screen.
    Look for the "Customize" button in the lower-left corner. With this screen, you're allowed to select what's installed on your computer. You likely don't need all the printer drivers, and you may or may not need the extra languages packs. X11 is your choice, but I choose to have it installed despite never using it.
    Start the installation, and when the installer starts "verifying" your install disc, click the Skip button. Don't interfere with the installation process, and the computer will restart on its own when finished.
    Setup your computer as before, and then use the Tiger install disc to re-install your iLife applications. You may contact me directly if you'd like to ask questions (alter the following address): spam [at] emoore [dot] org

  • Need help with new email problem

    Hi friends . . . I'm not sure if this is a forum that could help me figure out my new problem . . . but I'll give it a try. . .I need some help . . . My email is sometimes being sent to the wrong address. Instead of my Yahoo address, they're sent to AOL instead. At first I thought this was an eBay or Paypal problem, but other mail that I subscribe to is all of a sudden going to AOL instead of my Yahoo address . . .In all of these cases, the AOL address was never registered with the site. I'm not using an external POP mail program . . . just standard Yahoo mail with iMac and Firefox. Anyone have any clue what's going on . . . .thanks in advance for any help . . .

    You're using Google Mail : you should have said that earlier. the more information you give, the faster the solution.
    Then it's easy for you. Please read this article from the public knowledge base :
    http://www.blackberry.com/btsc/KB10332
    Duplicate sent email message arrives on BlackBerry smartphone when sent using Gmail
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • NEED HELP WITH APPLETS

    I have created an applet that runs on a web page that needs to access a .csv file and read from it. When the applet runs on the web I get an error saying that "applet cant be instantaited" does this mean that there is a problem with security as mention in other topics, or is there something else wrong with it.
    Try it:
    http://www.chesterfieldac.org.uk/Results/NorthMen/2002/Match1/results.html
    Can anyone help

    Yes,
    The applet is attempting to perform an operation, i.e. read a file that is not allowed by the applet's security manager. The solution is to sign the applet. The client will then be notified the code has been verified to be from "you" and they (the client) can choose to execute outside the "sandbox" that applets default to.
    Here are a couple of links that you may find usefull:
    JDK 1.3
    http://java.sun.com/products/plugin/1.3/docs/nsobjsigning.html
    JDK 1.4
    http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/intranet.html
    (particularly chapters 17, 18 and 19)
    Good Luck,
    Pete

Maybe you are looking for

  • How do I open multiple 'windows' in Entourage?

    I am using MS Entourage and would like to be able to open multiple windows within that program. For example, I would like to have both my calendar and address book opened at the same time in different windows. I have looked all over for a way to do t

  • Scroll buttons in the TimeLine's ScrollBar in AdobePremiere CS6

    I see a lot of questions about scroll speed in TimeLine, but I used very intense the scroll buttons, when i had long TimeLines (more than 4 hours) and I was with ZoomIn near 90%. Does anyone know, is it possible to enable scroll buttons in the TimeLi

  • XI receiving scenario example

    Hi Friends, I had searched on sdn for different scenario in XI , most of them are for sendin message out of system, but I didnt got any scenario which shows receiving of message from external system... So can you please provide some link where I can

  • Program is OK but No text is written to File

    Hi every one I am trying the following code but it does not function it opens file to write or if it exists it appends text to the file. DataOutputStream dos; Vector vc; * Utility method to write a given text to a file public boolean writeToFile(Stri

  • ACPI error and warnings on Linux Thinkpad T430

    Hello, i found in dmesg command output on my linux 3.13 (fedora 20) running on Thinkpad T430 (2349-H2G) the following warnings/errors about ACPI tables -> ACPI FADT declares the system doesn't support PCIe ASPM, so disable it -> ACPI Warning: 0x00000