Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6704213
Votes 0
Synopsis DnD:Java Console doesn't display user accelerator keys menu when applet opened from desktop shortcut
Category java_plugin:plugin2
Reported Against
Release Fixed 6u10(b26)
State 11-Closed, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 18-MAY-2008
Description
In case of dragged applet, when it is opened from the desktop shortcut, the java console does not display the following user accelerator  menu options as well other output/trace....
Also the console does not respond when the following menu option keys are pressed.


Java Web Start 1.6.0_01
Using JRE version 1.6.0_01 Java HotSpot(TM) Client VM
User home directory = C:\Users\Admin
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
0-5: set trace level to <n>
----------------------------------------------------

Pressing any of the option keys does not respond as expected. Suppose pressing the key "S" should dump the System properties into the console.


Steps to reproduce :
1) Go to Java control panel and enable to option "Show Console" under the advanced Tab.
2) Load following applet inside the browser
http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/AppletCommunication/html/TalkinApplet.html
3) Drag applet out of the browser and close the browser (to drag applet, use ALT + left click)
4) There should be pop-up to create a shortcut. Click "OK" and make sure that shortcut is getting created 
5) Close the browser and applet. 
6) Launch the same applet from desktop shortcut

Java Console comes up, observe the content of the console. If the user help menu options are missing the bug is reproducible.
Try pressing the keys "S", "T" etc, if output/trace get dumped inside the console, the bug gets reproduced.....
Posted Date : 2008-05-18 18:39:23.0
Work Around
N/A
Evaluation
The Plugin2ConsoleController needed to be installed in order for the
Java Console to work correctly in the new plug-in, including the
Applet2Viewer and JNLP2Viewer (the latter used for launching of
dragged-out applets from their desktop shortcuts). Moved this into the
sun.plugin2.applet package and modified it to work if the class loader
or instance caches are null. Modified the Applet2Viewer and
JNLP2Viewer to redirect stdout to the Java Console.
Posted Date : 2008-05-18 23:15:50.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang