Sending variable information at run of applet

Hello,
I've just recently begun programming with Java so please be gentle. I am somewhat familiar with coding PHP and my question is somewhat relative to this.
In an applet a parameter is set in the HTML code as:
<param name="this" value="blah">
How do I make the value of this parameter dynamic instead of static? Here is an example in PHP:
User clicks on a link that sends them to www.mysite.com/movie.php?value=blah.wmv
movie.php page would open and automatically fill in the variable of value to blah.wmv
How is something like this accomplished with Java?
Thank you in advance for your help,
Matt

You could use PHP for this too

Similar Messages

  • Crashes when running Java Applets and trying to open Security System Preferences

    Browser crashes when trying to run Java Applets, I've tried 4 different browsers. This is the crash report.
    Process:         java [90472]
    Path:            /usr/bin/java
    Identifier:      com.apple.javajdk16.cmd
    Version:         1.0 (1.0)
    Code Type:       X86-64 (Native)
    Parent Process:  Google Chrome Helper EH [90460]
    Date/Time:       2012-02-17 15:04:44.693 -0500
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          9110 sec
    Crashes Since Last Report:           8
    Per-App Interval Since Last Report:  43908 sec
    Per-App Crashes Since Last Report:   8
    Anonymous UUID:                      DFA20D26-FD7E-4507-AAA9-EBF29199EC56
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    Crashed Thread:  31  Java: Thread-11
    Application Specific Information:
    Java information:
    Exception type: Bus Error (0xa) at pc=00000000
    Java VM: Java HotSpot(TM) 64-Bit Server VM (20.4-b02-402 mixed mode macosx-amd64)
    Current thread (102a13000):  JavaThread "Thread-11" daemon [_thread_in_Java, id=607662080, stack(124283000,124383000)]
    Stack: [124283000,124383000]
    Java Threads: ( => current thread )
      126525000 JavaThread "Thread-26" daemon [_thread_blocked, id=878407680, stack(1344b7000,1345b7000)]
      126524000 JavaThread "Thread-25" daemon [_thread_in_native, id=877346816, stack(1343b4000,1344b4000)]
      102f20800 JavaThread "Thread-21" daemon [_thread_blocked, id=636690432, stack(125e32000,125f32000)]
      102b96000 JavaThread "Thread-20" daemon [_thread_in_native, id=550666240, stack(120ca8000,120d28000)]
      102b95000 JavaThread "Thread-19" daemon [_thread_blocked, id=632483840, stack(125a2f000,125b2f000)]
      1261e6000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=591368192, stack(1232f9000,1233f9000)]
      10191b800 JavaThread "Thread-15" daemon [_thread_blocked, id=611905536, stack(12468f000,12478f000)]
      1029c7800 JavaThread "Thread-14" daemon [_thread_blocked, id=610844672, stack(12458c000,12468c000)]
      102b11000 JavaThread "Thread-13" daemon [_thread_blocked, id=609783808, stack(124489000,124589000)]
      101929000 JavaThread "Thread-12" daemon [_thread_blocked, id=608722944, stack(124386000,124486000)]
    =>102a13000 JavaThread "Thread-11" daemon [_thread_in_Java, id=607662080, stack(124283000,124383000)]
      1029d2000 JavaThread "Poller SunPKCS11-Darwin" daemon [_thread_blocked, id=541855744, stack(1203c1000,1204c1000)]
      101a43800 JavaThread "thread applet-Rs2Applet.class-1" [_thread_blocked, id=534294528, stack(11fc8b000,11fd8b000)]
      102a07800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=527765504, stack(11f651000,11f751000)]
      102878000 JavaThread "JVM[id=0]-Heartbeat" daemon [_thread_blocked, id=490639360, stack(11d2e9000,11d3e9000)]
      101943000 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=494882816, stack(11d6f5000,11d7f5000)]
      102933000 JavaThread "Applet 1 LiveConnect Worker Thread" [_thread_blocked, id=466014208, stack(11bb6d000,11bc6d000)]
      101933800 JavaThread "Browser Side Object Cleanup Thread" [_thread_blocked, id=191471616, stack(10b59a000,10b69a000)]
      101944000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=493821952, stack(11d5f2000,11d6f2000)]
      1029ae800 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=492761088, stack(11d4ef000,11d5ef000)]
      102a04800 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=491700224, stack(11d3ec000,11d4ec000)]
      102b2e000 JavaThread "SysExecutionTheadCreator" daemon [_thread_blocked, id=489578496, stack(11d1e6000,11d2e6000)]
      1018e6800 JavaThread "Java Plug-In Pipe Worker Thread (Client-Side)" daemon [_thread_in_native, id=464945152, stack(11ba68000,11bb68000)]
      101a46800 JavaThread "AWT-Shutdown" [_thread_blocked, id=463884288, stack(11b965000,11ba65000)]
      101934800 JavaThread "AWT-AppKit" daemon [_thread_in_native, id=1896107200, stack(7fff5f400000,7fff5fc00000)]
      101933000 JavaThread "Timer-0" [_thread_blocked, id=190410752, stack(10b497000,10b597000)]
      1018cd000 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=188145664, stack(10b26e000,10b36e000)]
      102853000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=172019712, stack(10a30d000,10a40d000)]
      102852800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=170958848, stack(10a20a000,10a30a000)]
      102851800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=169897984, stack(10a107000,10a207000)]
      102851000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=168837120, stack(10a004000,10a104000)]
      102850000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=167776256, stack(109f01000,10a001000)]
      102842800 JavaThread "Finalizer" daemon [_thread_blocked, id=162287616, stack(1099c5000,109ac5000)]
      102841800 JavaThread "Reference Handler" daemon [_thread_blocked, id=161226752, stack(1098c2000,1099c2000)]
      101801000 JavaThread "main" [_thread_blocked, id=5246976, stack(100401000,100501000)]
    Other Threads:
      10283d000 VMThread [stack: 1097bf000,1098bf000] [id=160165888]
      10285d000 WatcherThread [stack: 10a410000,10a510000] [id=173080576]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    par new generation   total 19136K, used 9943K [7eae00000, 7ec2c0000, 7ece00000)
      eden space 17024K,  46% used [7eae00000, 7eb5a5ec8, 7ebea0000)
      from space 2112K, 100% used [7ec0b0000, 7ec2c0000, 7ec2c0000)
      to   space 2112K,   0% used [7ebea0000, 7ebea0000, 7ec0b0000)
    concurrent mark-sweep generation total 144152K, used 110056K [7ece00000, 7f5ac6000, 7fae00000)
    concurrent-mark-sweep perm gen total 62268K, used 37524K [7fae00000, 7feacf000, 800000000)
    Code Cache  [103801000, 104192000, 106801000)
    total_blobs=2217 nmethods=1445 adapters=734 free_code_cache=40529280 largest_free_block=47360
    Virtual Machine Arguments:
    JVM Args: -D__jvm_launched=1329508711033330 -Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Resources/Deploy. bundle/Contents/Resources/Java/deploy.jar:/System/Library/Frameworks/JavaVM.fram ework/Resources/Deploy.bundle/Contents/Resources/Java/javaws.jar:/System/Library /Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Resources/Java/plu gin.jar -Djava.applet.host=world8.runescape.com -Dapple.awt.UIElement=true -Dsun.awt.warmup=true -Xmx256m -Xss1m -Xincgc -XX:+UseConcMarkSweepGC -Dsun.java2d.noddraw=true
    Java Command: sun.plugin2.main.client.PluginMain write_pipe_name=/var/folders/Aa/Aa4dzX7xHJmbzy55DpvyiE+++TI/-Tmp-/.java.deploy. 90460.994108354874315847
    Launcher Type: SUN_STANDARD
    Physical Memory: Page Size = 4k, Total = 3840M, Free = 774M
    Thread 0:  Dispatch queue: com.apple.main-thread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   com.apple.CoreFoundation                0x00007fff864f2902 __CFRunLoopRun + 1698
    3   com.apple.CoreFoundation                0x00007fff864f1d8f CFRunLoopRunSpecific + 575
    4   com.apple.HIToolbox                     0x00007fff857827ee RunCurrentEventLoopInMode + 333
    5   com.apple.HIToolbox                     0x00007fff857825f3 ReceiveNextEventCommon + 310
    6   com.apple.HIToolbox                     0x00007fff857824ac BlockUntilNextEventMatchingListInMode + 59
    7   com.apple.AppKit                        0x00007fff85ae6eb2 _DPSNextEvent + 708
    8   com.apple.AppKit                        0x00007fff85ae6801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    9   libawt.jnilib                           0x000000010b6f1f0d -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
    10  com.apple.AppKit                        0x00007fff85aac68f -[NSApplication run] + 395
    11  libawt.jnilib                           0x000000010b69e19c +[AWTStarter startAWT:] + 1495
    12  libawt.jnilib                           0x000000010b69db16 -[CPerformer perform] + 93
    13  com.apple.Foundation                    0x00007fff8357745f __NSThreadPerformPerform + 219
    14  com.apple.CoreFoundation                0x00007fff864f43d1 __CFRunLoopDoSources0 + 1361
    15  com.apple.CoreFoundation                0x00007fff864f25c9 __CFRunLoopRun + 873
    16  com.apple.CoreFoundation                0x00007fff864f1d8f CFRunLoopRunSpecific + 575
    17  java                                    0x000000010000483f 0x100000000 + 18495
    18  java                                    0x0000000100004296 0x100000000 + 17046
    19  java                                    0x0000000100001a94 0x100000000 + 6804
    Thread 1:
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x00000001038069b3 0 + 4353714611
    11  ???                                     0x00000001038069b3 0 + 4353714611
    12  ???                                     0x000000010380685a 0 + 4353714266
    13  ???                                     0x000000010380685a 0 + 4353714266
    14  ???                                     0x0000000103801438 0 + 4353692728
    15  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    16  libclient64.dylib                       0x00000001010a4f16 JVM_Lseek + 192613
    17  libclient64.dylib                       0x00000001010c8e0e JVM_FindLoadedClass + 3186
    18  libclient64.dylib                       0x00000001010c8cb6 JVM_FindLoadedClass + 2842
    19  java                                    0x0000000100002cef 0x100000000 + 11503
    20  java                                    0x000000010000323c 0x100000000 + 12860
    21  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    22  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 2:  Java: Exception Handler Thread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libSystem.B.dylib                       0x00007fff8864aa17 mach_msg_server + 468
    3   libclient64.dylib                       0x000000010100e7cb jio_snprintf + 41425
    4   libclient64.dylib                       0x000000010100e683 jio_snprintf + 41097
    5   libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    6   libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    7   libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 3:  Java: Gang worker#0 (Parallel GC Threads)
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x000000010100d722 jio_snprintf + 37160
    5   libclient64.dylib                       0x000000010100d2fd jio_snprintf + 36099
    6   libclient64.dylib                       0x000000010100d1a3 jio_snprintf + 35753
    7   libclient64.dylib                       0x0000000101025fa4 jio_vsnprintf + 312
    8   libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    9   libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    10  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 4:  Java: Gang worker#1 (Parallel GC Threads)
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x000000010100d722 jio_snprintf + 37160
    5   libclient64.dylib                       0x000000010100d2fd jio_snprintf + 36099
    6   libclient64.dylib                       0x000000010100d1a3 jio_snprintf + 35753
    7   libclient64.dylib                       0x0000000101025fa4 jio_vsnprintf + 312
    8   libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    9   libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    10  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 5:  Java: Concurrent Mark-Sweep GC Thread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x000000010100d722 jio_snprintf + 37160
    5   libclient64.dylib                       0x000000010100d2fd jio_snprintf + 36099
    6   libclient64.dylib                       0x000000010100d1a3 jio_snprintf + 35753
    7   libclient64.dylib                       0x0000000101302097 JVM_Timeout + 883428
    8   libclient64.dylib                       0x000000010122803c JVM_Yield + 40397
    9   libclient64.dylib                       0x000000010122783d JVM_Yield + 38350
    10  libclient64.dylib                       0x00000001012277af JVM_Yield + 38208
    11  libclient64.dylib                       0x000000010122764e JVM_Yield + 37855
    12  libclient64.dylib                       0x00000001012273eb JVM_Yield + 37244
    13  libclient64.dylib                       0x000000010121edca JVM_Yield + 2907
    14  libclient64.dylib                       0x000000010102c3dc jio_vsnprintf + 25968
    15  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    16  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    17  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 6:  Java: VM Thread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d995 jio_snprintf + 37787
    3   libclient64.dylib                       0x000000010102c54a jio_vsnprintf + 26334
    4   libclient64.dylib                       0x000000010100d2fd jio_snprintf + 36099
    5   libclient64.dylib                       0x000000010100d1a3 jio_snprintf + 35753
    6   libclient64.dylib                       0x00000001010a3f8f JVM_Lseek + 188638
    7   libclient64.dylib                       0x00000001010a3cdf JVM_Lseek + 187950
    8   libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    9   libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    10  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 7:  Java: Reference Handler
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103a3d848 0 + 4356036680
    9   ???                                     0x00000001039622d4 0 + 4355138260
    10  ???                                     0x0000000103801438 0 + 4353692728
    11  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    12  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    13  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    14  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    15  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    16  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    17  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    18  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    19  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 8:  Java: Finalizer
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103a3d848 0 + 4356036680
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x00000001038069b3 0 + 4353714611
    11  ???                                     0x00000001038069b3 0 + 4353714611
    12  ???                                     0x0000000103801438 0 + 4353692728
    13  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    14  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    15  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    16  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    17  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    18  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    19  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    20  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    21  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 9:  Dispatch queue: com.apple.libdispatch-manager
    0   libSystem.B.dylib                       0x00007fff885e6c0a kevent + 10
    1   libSystem.B.dylib                       0x00007fff885e8add _dispatch_mgr_invoke + 154
    2   libSystem.B.dylib                       0x00007fff885e87b4 _dispatch_queue_invoke + 185
    3   libSystem.B.dylib                       0x00007fff885e82de _dispatch_worker_thread2 + 252
    4   libSystem.B.dylib                       0x00007fff885e7c08 _pthread_wqthread + 353
    5   libSystem.B.dylib                       0x00007fff885e7aa5 start_wqthread + 13
    Thread 10:  Java: Surrogate Locker Thread (Concurrent GC)
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x000000010100d722 jio_snprintf + 37160
    5   libclient64.dylib                       0x000000010100d2fd jio_snprintf + 36099
    6   libclient64.dylib                       0x000000010100d10a jio_snprintf + 35600
    7   libclient64.dylib                       0x00000001010c2261 JVM_IsPrimitiveClass + 6521
    8   libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    9   libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    10  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    11  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    12  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 11:  Java: Signal Dispatcher
    0   libSystem.B.dylib                       0x00007fff885cddb6 semaphore_wait_trap + 10
    1   libclient64.dylib                       0x00000001010c2aa3 JVM_IsPrimitiveClass + 8635
    2   libclient64.dylib                       0x00000001010c252a JVM_IsPrimitiveClass + 7234
    3   libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    4   libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    5   libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    6   libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    7   libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 12:  Java: C2 CompilerThread0
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x000000010100d722 jio_snprintf + 37160
    5   libclient64.dylib                       0x000000010100d2fd jio_snprintf + 36099
    6   libclient64.dylib                       0x000000010100d10a jio_snprintf + 35600
    7   libclient64.dylib                       0x00000001010c9319 JVM_Write + 346
    8   libclient64.dylib                       0x00000001010c3913 JVM_IsPrimitiveClass + 12331
    9   libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    10  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    11  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    12  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    13  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 13:  Java: C2 CompilerThread1
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x000000010100d722 jio_snprintf + 37160
    5   libclient64.dylib                       0x000000010100d2fd jio_snprintf + 36099
    6   libclient64.dylib                       0x000000010100d10a jio_snprintf + 35600
    7   libclient64.dylib                       0x00000001010c9319 JVM_Write + 346
    8   libclient64.dylib                       0x00000001010c3913 JVM_IsPrimitiveClass + 12331
    9   libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    10  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    11  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    12  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    13  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 14:  Java: Low Memory Detector
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x000000010100d722 jio_snprintf + 37160
    5   libclient64.dylib                       0x000000010100d2fd jio_snprintf + 36099
    6   libclient64.dylib                       0x000000010100d1a3 jio_snprintf + 35753
    7   libclient64.dylib                       0x00000001010c5318 JVM_IsPrimitiveClass + 18992
    8   libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    9   libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    10  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    11  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    12  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 15:  Java: VM Periodic Task Thread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d995 jio_snprintf + 37787
    3   libclient64.dylib                       0x00000001011afc26 JVM_GetClassInterfaces + 11348
    4   libclient64.dylib                       0x00000001010c73a7 JVM_IsPrimitiveClass + 27327
    5   libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    6   libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    7   libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 16:  Java: traceMsgQueueThread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x000000010380685a 0 + 4353714266
    11  ???                                     0x0000000103806d34 0 + 4353715508
    12  ???                                     0x0000000103801438 0 + 4353692728
    13  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    14  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    15  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    16  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    17  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    18  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    19  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    20  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    21  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 17:  Java: Timer-0
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x000000010380685a 0 + 4353714266
    11  ???                                     0x000000010380685a 0 + 4353714266
    12  ???                                     0x0000000103801438 0 + 4353692728
    13  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    14  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    15  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    16  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    17  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    18  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    19  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    20  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    21  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 18:  Java: AWT-Shutdown
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x000000010380685a 0 + 4353714266
    11  ???                                     0x0000000103806d34 0 + 4353715508
    12  ???                                     0x0000000103801438 0 + 4353692728
    13  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    14  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    15  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    16  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    17  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    18  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    19  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    20  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    21  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 19:  Java: Java Plug-In Pipe Worker Thread (Client-Side)
    0   libSystem.B.dylib                       0x00007fff885d8466 read + 10
    1   libdeploy.jnilib                        0x0000000109d4d5d9 Java_com_sun_deploy_net_socket_UnixSocketImpl_unStreamSocketRead + 140
    2   ???                                     0x0000000103811d6e 0 + 4353760622
    3   ???                                     0x000000010380696e 0 + 4353714542
    4   ???                                     0x000000010380696e 0 + 4353714542
    5   ???                                     0x000000010380696e 0 + 4353714542
    6   ???                                     0x000000010380696e 0 + 4353714542
    7   ???                                     0x000000010386d2b4 0 + 4354134708
    8   ???                                     0xfda21644ff67b8d7 0 + 18276194723421468887
    Thread 20:  Java: SysExecutionTheadCreator
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x000000010380685a 0 + 4353714266
    11  ???                                     0x0000000103801438 0 + 4353692728
    12  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    13  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    14  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    15  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    16  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    17  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    18  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    19  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    20  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 21:  Java: CacheMemoryCleanUpThread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x00000001038069b3 0 + 4353714611
    11  ???                                     0x00000001038069b3 0 + 4353714611
    12  ???                                     0x0000000103801438 0 + 4353692728
    13  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    14  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    15  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    16  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    17  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    18  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    19  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    20  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    21  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 22:  Java: CacheCleanUpThread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x000000010380685a 0 + 4353714266
    11  ???                                     0x0000000103801438 0 + 4353692728
    12  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    13  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    14  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    15  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    16  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    17  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    18  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    19  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    20  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 23:  Java: AWT-EventQueue-0
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103a3d848 0 + 4356036680
    9   ???                                     0x0000000103aaac60 0 + 4356484192
    Thread 24:  Java: Browser Side Object Cleanup Thread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x00000001038069b3 0 + 4353714611
    11  ???                                     0x00000001038069b3 0 + 4353714611
    12  ???                                     0x0000000103801438 0 + 4353692728
    13  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    14  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    15  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    16  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    17  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    18  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    19  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    20  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    21  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 25:  Java: Applet 1 LiveConnect Worker Thread
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103811d6e 0 + 4353760622
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x000000010380685a 0 + 4353714266
    11  ???                                     0x0000000103806d34 0 + 4353715508
    12  ???                                     0x0000000103801438 0 + 4353692728
    13  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    14  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    15  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    16  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    17  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    18  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    19  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    20  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    21  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 26:  Java: AWT-EventQueue-2
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d903 jio_snprintf + 37641
    3   libclient64.dylib                       0x000000010100d7c3 jio_snprintf + 37321
    4   libclient64.dylib                       0x00000001010b2597 JVM_MonitorWait + 4001
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103a3d848 0 + 4356036680
    9   ???                                     0x0000000103aaac60 0 + 4356484192
    Thread 27:  Java: JVM[id=0]-Heartbeat
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_msg + 59
    2   libclient64.dylib                       0x000000010100d995 jio_snprintf + 37787
    3   libclient64.dylib                       0x000000010102c54a jio_vsnprintf + 26334
    4   libclient64.dylib                       0x00000001010b25a1 JVM_MonitorWait + 4011
    5   libclient64.dylib                       0x00000001010b1a24 JVM_MonitorWait + 1070
    6   libclient64.dylib                       0x00000001010b1690 JVM_MonitorWait + 154
    7   libjvmlinkage.dylib                     0x0000000100093b9b JVM_MonitorWait + 59
    8   ???                                     0x0000000103a3d848 0 + 4356036680
    9   ???                                     0x000000010380685a 0 + 4353714266
    10  ???                                     0x00000001038069b3 0 + 4353714611
    11  ???                                     0x00000001038069b3 0 + 4353714611
    12  ???                                     0x0000000103801438 0 + 4353692728
    13  libclient64.dylib                       0x00000001010a5152 JVM_Lseek + 193185
    14  libclient64.dylib                       0x00000001010b11dc JVM_StartThread + 2565
    15  libclient64.dylib                       0x00000001010b10d2 JVM_StartThread + 2299
    16  libclient64.dylib                       0x00000001010b1072 JVM_StartThread + 2203
    17  libclient64.dylib                       0x00000001010b0f14 JVM_StartThread + 1853
    18  libclient64.dylib                       0x00000001010b0d29 JVM_StartThread + 1362
    19  libclient64.dylib                       0x000000010100d264 jio_snprintf + 35946
    20  libSystem.B.dylib                       0x00007fff88606fd6 _pthread_start + 331
    21  libSystem.B.dylib                       0x00007fff88606e89 thread_start + 13
    Thread 28:  Java: Java2D Disposer
    0   libSystem.B.dylib                       0x00007fff885cdd7a mach_msg_trap + 10
    1   libSystem.B.dylib                       0x00007fff885ce3ed mach_m

    Did you get this fixed? I have had this error everytime I try to access my bank, inventory, and ither things. Please help.

  • HOw to run the Applet in dos mode

    how to run the applet in Command Prompt(DOS).
    I have save this in directory D/vijay/javap/A.java and my JDK is in C drive.
    Plz send me reply as soon as possible.
    My code is :-
    import java.applet.*;
    import java.awt.*;
    public class A extends Applet
    private int w, h;
    public void init( )
         w = 45;
         h = 50;
    public void paint(Graphics g)
         g.drawRect(w, h, 20, 80);
    }

    import java.applet.*;
    import java.awt.*;
    public class A extends Applet
    private int w, h;
    public void init( )
    w = 45;
    h = 50;
    public void paint(Graphics g)
    g.drawRect(w, h, 20, 80);
    <applet class="A" height="200" width="200" code="A.class">
    </applet>
    */And in command prompt
    javac A.java
    appletviewer A.java
    Message was edited by:
    passion_for_java

  • Sending Exception Information

    I have recently ran through the ExceptionHandling sample project, and I am attempting to extend it slightly.
    I have created a Business Exception object called Test_Exception. Within this exception object, I have created three attributes: id, activity, message. The idea behind these properties is that I can set their values when an exception is thrown. I also created a notifyException method that I use to send this information to someone who is charged with investigating/handling these exceptions.
    I have a Process Exception flow that looks like this: Process Exceptions >> Notify Exception Handler >> Exception Review. The transition to, "Notify Exception Handler," references my Test_Exception object. The variable that will hold the exception is the default, "exceptionHolder."
    So I have some code in an Automatic activity that looks like this:
    try{
         Test.doSomething();
    }catch (Exception ex){
         Test_Exception te = new Test_Exception();
         te.instanceId = this.id.id;
         logMessage("TE Instance = " + te.instanceId + ".");
         te.activity = this.activity.name;
         logMessage("TE Activity = " + te.activity + ".");
         te.message = "Message = " + ex.message + "\rStackTrace = " + ex.stackTrace;
         logMessage("TE Message = " + te.message + ".");
         throw te;
    I can look at the logs and see that te's attributes are being populated.
    In, "Notify Exception Handler," there is code to send mail using the attributes of the Test_Exception object.
    Mail email = new Mail();
    email.recipient = "[email protected]";
    email.from = "[email protected]";
    email.subject = "An Exception Has Occured";
    email.message = "Instance, " + Test_Exception.instanceId + ", in Activity, " + Test_Exception.activity + ", has encountered a problem."
         "\r\rError Details: " + Test_Exception.message + "\r\rThank you.";
    email.send();
    Here, the attributes of the Business Exception are blank. Does anyone have any thoughts or opinions about this approach?

    You notification code should look more like the code below. Because exceptionHolder is of type any you must first cast it to a Test_Exception.
    Test_Exception te = ((Test_Exception)exceptionHolder);
    Mail email = new Mail();
    email.recipient = "[email protected]";
    email.from = "[email protected]";
    email.subject = "An Exception Has Occured";
    email.message = "Instance, " + te.instanceId + ", in Activity, " + te.activity + ", has encountered a problem."
    "\r\rError Details: " + te.message + "\r\rThank you.";
    email.send();

  • How to run an Applet using the JDK1.3.1 platform?

    I'm a beginner of Java Applet.
    I've type in the sample program provided in the text book, and compiled it using the jdk1.3.1 platform.
    Usually we run a java program using java [filename], right?
    How about running an applet file?
    What is appletviewer function?
    Thanks!

    I try to put it in a HTML page but it required me to download a Java Virtual Machine.
    I've been searching sources for that but stil cannot get.
    This is always what I get:
    [We're sorry, you cannot view this page because it requires the Microsoft Java Virtual Machine (MSJVM). Your machine does not have the MSJVM installed. For more information please visit www.microsoft.com/java.]
    I visit java.sun.com. On the right side of the page listed with the HOT DOWNLOADS.
    I click on the Java VM but still cannot get anything...
    Can u help me on that?
    I've been trying for 2 days already.
    Thanks!

  • Which command i use to run SWING APPLET

    Hi friends,
    i m a new in swing technology i got and problem when i run swing applet .
    i make a file and complie it with -deprecation it work and make a .class file but how can i run this applet [i use jview command , appletviewer command but it can't work]
    i hope that someone hellp me.

    Just as a matter of interest and i know its a stupid question, but did you create a html file to access the class file/jar
    Here is some example code of an applet html page
    Hope it helps...
    Also have you put it in a Jar file?
    <html>
    <head>
    <title>(Whatever title youu want)</title>
    <BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">
    <TR>
    <APPLET CODE = "ClassName.class" ARCHIVE = "JarName.jar" WIDTH = "800" HEIGHT = "600"></XMP>
    <PARAM NAME = CODE VALUE = "ClassName.class" >
    <PARAM NAME = ARCHIVE VALUE = "JarName.jar" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="scriptable" VALUE="false">
    <dont worry about this>(they just variables for my applet)
    <PARAM NAME = SERVER_IP VALUE ="192.1.1.209">
    <PARAM NAME = SERVER_PORT VALUE =8701>
    <PARAM NAME = DEBUG VALUE =true>
    <PARAM NAME = REFRESH VALUE =10000>
    <PARAM NAME = TAIL_REFRESH VALUE =2500>
    <PARAM NAME = MESSAGE_TIMEOUT VALUE =60>
    </dont worry about this>
    </APPLET>
    </body>
    </html>

  • Send language information to ocx client

    We are running a java application server. One of the client is a c++ client (ocx). We need to send send language information to the client so it startes up with the right language defined from the server.
    Should the language information be stored in xml format and send through http (HTTP-response) or web-service? What do you use?
    Thx in advance

    Try MD5 as the authentication method.

  • Send message to parent html upon applet close

    Hi,
    I have an jsp page with applet included in the page. However, the applet opens as a separate frame.
    The applet has the functionality of capturing a photo from a camera connected to the computer and then displaying the captured photo back to the jsp to be displayed.
    I have tried the following approaches and found them working -
    1. After capturing photo , save it as a physical file.
    However, I want to be able to send a 'signal' to the jsp page that photo has been captured, so that the jsp can refresh itself with the capture photo.
    Any suggestions on how to achieve it. ?

    Hi,
    I'm not sure if this is what you're looking for, but here it goes:
    // I send the Context Path to the applet as one the parameters
    String path = applet.getParameter("contextPath");
    URL url = new URL(applet.getCodeBase(), path);
    URLConnection uc = url.openConnection();
    // Post the request
    uc.setDoOutput(true);
    uc.setDoInput(true);
    uc.setUseCaches(false);
    // The variable params points to a serializable object that you can send back to the server               
    uc.setRequestProperty("Content-type", "java-internal/"
                                            + params.getClass().getName());
    ObjectOutputStream out = new ObjectOutputStream(uc..getOutputStream());
    out.writeObject(params);
    out.flush();
    applet.getAppletContext().showDocument(applet.getCodeBase(), "_self");And on the server:
    // Read the request
    ObjectInputStream ois =  new ObjectInputStream(req.getInputStream());
    Object params = ois.readObject();Hope this helps.
    Kind regards,
    Carlos Ferreira

  • Running JMF applet without JMF?

    How can I get my JMF applets to run on a users machine without JMF installed on their machine?
    Can I emded a JMF plugin in the HTML code (just enough to let them run the applet!) ?
    thanks

    please dont cry.....
    one thing is u need to send all the class files required for the applet to run on the client side.
    below is the code to detect for the plug in for ie and netscape:
    out.println("<body bgColor=\"#EEEEE0\">");
                        out.println("<h1 align=center>Aspire Chat</h1>");
                        out.println("<table border=1 align=\"center\"><tr><td>");
    //                    out.println("<OBJECT classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" width=\"400\" height=\"400\" align=\"centre\" codebase=\"http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0\">");
                        out.println("<OBJECT classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" width=\"400\" height=\"400\" align=\"centre\" codebase=\"http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win.cab\">");
                        out.println("<PARAM NAME=\"code\" VALUE=\"Vapp.class\">");
                        out.println("<PARAM NAME=\"codebase\" VALUE=\"http://"+host+":8080/aspire\">");
    // out.println("<PARAM NAME=\"archive\" VALUE=\"AspireChat.jar\">");//, sound.jar, jmf.jar
    out.println("<PARAM NAME=\"archive\" VALUE=\"Aspire.jar, jmf.jar\">");//, sound.jar, jmf.jar
         out.println("<PARAM NAME=\"type\" VALUE=\"application/x-java-applet;version=1.4\">");
    out.println("<PARAM NAME=\"scriptable\" VALUE=\"true\">");

  • Send graph information to RS232

    Hello,  i found example "serial" in CVI example databse.
    i have RS232 comport with loopback (i connected pin 2 to pin 3 on the serial port.)
    I want to mod this program to send not text from the box, but send graph information to RS232, then get that information and plot the same graph with that information. (so there will be 2 graphs)
    Things that i done so far:
    Made a graph, now graph can generate a signal, but now im stuck on how to send it. Any tips?
    i got few errors:  
    NON-FATAL RUN-TIME ERROR: "serial.c", line 112, col 5, thread id 0x00001604: Library function error (return value == -46 [0xffffffd2]). The attribute passed is not valid
    NON-FATAL RUN-TIME ERROR: "serial.c", line 496, col 5, thread id 0x00001604: Library function error (return value == -58 [0xffffffc6]). The control does not have a value
    if i delete 112 line  then i can generate a graph.
    added file.
    Attachments:
    file.zip ‏474 KB

    Hello A Z,
    please understand that it's weekend time now: there may be nobody reading the forum...
    The errors you are founding depend on how you manipulated the example you started from: specifically, you cannot operate on a graph the same way you operate on a textbox (the original control): if you right-click on a control (e.g. the graph control on your panel) and select "Control help" from the context menu the online help will open on the specific page for the control; selecting Graph control attributes" you'll see the list of available attributes that can be manipulated for the given control; an attribute not included in that list will generate the error you are finding.
    Given this, which exactly is the problem you want to solve? Sending an image of the graph or sending the raw data? Whichever is the case, you'll need to write a receiver program that reads data back from the serial port and shows them, but it will be different in either case.
    It is normally better to send the raw data rather than the graph image: from the original data you can rebuild the graph but you can also perform some more operation like for example extracting a portion for a more detailed examination.
    Since you are generating data inside the program you can write them down in a string (sprintf) and send the string over the serial channel like in the example you are starting from. The reciever will read the string and extract values with sscanf. If you are not likely to have the data available in memory in the sending routine you can retrieve them from the graph with GetPlotAttribute using ATTR_PLOT_XDATA and ATTR_PLOT_YDATA attributes. See the online help for those attributes to understand how to use them.
    One last hint: when attaching code to a message you do not need to add neither cvibuild folder nor .cdb and .exe files: those elements are rebuilt when you run the project and are a waste in forum space.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Error 1047 in LabVIEW 8.2: LabVIEW failed to send variable to the script server. Server:""

    I am working with the evaluation version of labVIEW as well and I have run into another error.  I am using a MATLAB script node within a for loop and attempting to pass the for loop counter variable into the script.  When I run the code it brings up a 1047 error and says "LabVIEW failed to send variable to the script server. Server:"" ".  I looked up the error online which seems to have roots in a failed auto initialization of MATLAB.  Is there something that I can do in labVIEW to fix the problem or is it strictly a MATLAB error?  
    I really appreciate your help.

    I'm using Labview 8.6 and Matlab 7.9 2009b on windows 7 (64bit)
    when I tried to open the Lorenz Diff Eq.vi....it woes not work and gives the error
    Error 1047 occurred at LabVIEW:  LabVIEW failed to send variable to the script server. Server:"" in MATLAB script node - Lorenz Diff Eq.vi
    I think there is no inital communication for opening the MATLAB server
     any can help?
    A.Hakim

  • Send variables between ICM scripts

    Hi,
    It is a UCCE environment with CVP.
    I have Post Call Survey configured and running.
    In the CVP survey script, I don't want the caller to select again the language.
    Is there a way to send variables between ICM scripts so the language selected in the first CVP script will be sent to ICM script1 then ICM script2 then CVP script2?
    Your help is highly appreciated.
    Thank you in advance
    Lara

    Hi David,
    I still have an issue with the above. In the initial CVP script the customer can choose to listen to announcements without the need to be transferred to an agent. In this case, the Survey script is launched but the call variables are not populated and the language is showing as Null in the log which is causing a bad fetch error.
    Kindly, is there a workaround?
    Thank you in advance.
    Lara

  • NoClassDefFoundError when trying to run an applet

    Hi,
    I'm new to java and am having a problem when I try to run an applet. It compiles OK, but when I try to run it using the appletviewer the console window shows this message:
    java.lang.NoClassDefFoundError: HelloApplet (wrong name: fund2/lesson1/HelloApplet)
    The last bit (fund2/lesson1) is the last bit of the path to the HelloApplet.
    and the applet window shows:
    Start: applet not initialized
    The code for the applet is:
    import java.applet.Applet;
    import java.awt.*;
    public class HelloApplet extends Applet {
         public void paint(Graphics graArg) {
              graArg.drawString("Hello World!", 50, 100);
    }The code for the html is:
    <html>
    <h1>Hello Applet Example</h1>
    <object code="HelloApplet.class"
            height=200
            width=300>
    </object>
    </html>Not even the H1 title appears in the applet window.
    The Classpath variable does contain the path to my applet folder and both the class and html files are in the same folder under this path.
    I hope someone can suggest where I'm going wrong as I've been tearing my hair out trying to get this working.
    Thanks in anticipation.
    Debbie-Leigh

    The H1 tag wouldn't appear in the applet anyway. It would appear in the HTML page itself. I think the appletviewer may ignore all non-applet markup though.
    The ".class" shouldn't be in the HTML. The code attribute refers to a class name, not the file name of the class. However I get the impression that the appletviewer and a lot of browsers just ignore the ".class", even though it's technically incorrect.
    I believe that the object tag doesn't take a code attribute. The code attribute is used in the applet tag. I suspect that's your problem. Look up and read the docs on this site re: proper use of the applet or object or embed or whatever the hell the tag you're supposed to use is, for details. I may be and probably am misremembering.

  • How to run an applet(in a html file) in the server?

    I am using the jpedal Viewer inmy code, I embedded the applet code
    in a html file , it is running fine, but when I try to run the same Viewer applet in the Server it is throwing an error
    "java.lang.NoClassDefFoundError: org/jpedal/objects/acroforms/DefaultAcroRenderer
         at org.jpedal.PdfDecoder.startup(Unknown Source)
         at org.jpedal.PdfDecoder.<init>(Unknown Source)
         at pdfViewer.PdfApplet.init(PdfApplet.java:199)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)"
    What is the problem ?
    Please suggest solution for it?
    Its urgent

    I am trying to run the Applet in Tomcat server,
    Could you post the code where you invoke the Applet? It sounds like you're saying you're trying to run the Applet as part of your server-side code. The other interpretation is that you are simply accessing the Applet through the browser that happens to be on the machine being used as the server.
    Like I say, post the code that shows how you're trying to use the Applet "on the server".

  • Why cant i run my applet on JRE 1.6 but on JRE 1.5?

    Hello,
    I know this is a very basic problem, but i still cannot get a justified answer for this problem. Its like i have an applet which is compiled in JDk j2sdk1.4.2_16. Now when i try to run this applet on my IE under jre 1.5.* family on all the client machines it works fine. But when i switch to jre 1.6.* family, i see the applet being displayed, but i cannot perform any operations on it i no mouse clicks work and i cannot open any file menu or my jdialog boxes.
    Is it because of the incompatibilities in jre 1.6, but wont it be backward compatible to that older version applets can run on this new jre. My applet seems to be a simple applet,with only one exception that it has lot of jframes and jpanel in it.
    This problem is killing me ..
    Can someone point me towards where can i find what all changes are made in JRE 1.6 over JRE 1.5 so that atleast i can compare what is causing my applet freeze in JRE 1.6.
    i went through the release notes but cant find anything useful there.
    Please help.

    Sun ensures that newer versions of the JRE are backward compatible. Your applet should work under the newest JRE version. Have you tried running the applet in a different browser (e.g., Firefox) with JRE 1.6 to eliminate it being an IE issue?

Maybe you are looking for

  • How to make ajax call (writtern in js) using loadrunner

    My application has a javascript which makes an ajax call (calling a jsp page). When i execute the loadrunner script, the ajax call is not happening. I have tried all available protocols but that ajax call is not working. Please suggest a way to execu

  • Exchange 2013 Mailbox Using 2010 Public Folders

    Firstly, we will not be migrating completely to Exchange 2013 public folders for quite a while.  Our first Ex2013 server is in a small branch office and won't be appropriate to hose the PF's for the entire company.  Our environment consists of 8 Ex20

  • EL and quotes for input value

    In my Tomcat 6.0.20 container, I have a form value that works great except if the user enters quotes in the form input. Anything in quotes wont show up. For example if they enter: Here is the "info" The form value would only show: Here is the Input e

  • Can't Video Chat With Macs But With PC.

    i been having a problem using my mac to video chat with another mac. i tried using it with a Pc user with success but once im trying with another mac it gives me an error message that the user has denied my request. any suggestions? i tried everythin

  • Importing Final Cut Express project into FCP

    I have just updated frpm FCE to FCP and have a project that I would like to import from FCE to FCP. Can anyone tell me how to do this. I can't find instructions in the manual. Thanks Peter