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: 5051557
Votes 1
Synopsis COMPATIBILITY: JOTB - 3D Blox applet does not function properly.
Category java:classes_awt
Reported Against b31 , tiger-beta2
Release Fixed mustang(b53)
State 10-Fix Delivered, Verified, bug
Priority: 2-High
Related Bugs 6471783 , 5051558
Submit Date 22-MAY-2004
Description
Tested OS/Browser:  
-----------------      
                    XP-home/ IE6
                    win2000/ IE6
                    winME/   IE5.5

Tested  Build:  
-------------  
                    j2re1.5-b51

(Note: Must use OFF_SWAN machines to reproduce this bug)

Problem: 
-------
The applet loads, but the keys intended to control the applet do not do anything (G,N,M,L). They work fine with MS VM


Steps to reproduce:
------------------
1) Install j2re1.5-b51 into the test system
2) Browse to http://www.javaonthebrain.com
3) Click on applets tab at top of page
4) Click on '3D Blox'
5) Play the game 


The applet does not respond to keyboard commands to interact with
the applet. The keys G, N, M, and L are supposed to move the character (pengium) around, but fail to do anything at all. There is no way to play the game. The problem can not be reproducible with MS VM.


**************************************************************************
The problem also occurs in J2SE 6.0 (tested with build 31)
on win 2000 pro(sp4)/IE6
XP-Home(sp2)/ IE6

Unable to play the applet with the keyboard key.


  xxxxx@xxxxx   2005-05-03 21:39:00 GMT



Verified the fix in Mustang-b59 on XP-Home(sp2)/IE6
                                   win 2000 pro(sp4)/IE6
Posted Date : 2005-11-15 00:55:03.0
Work Around
N/A
Evaluation

The cause of the problem is that Applet itself doesn't get focus (with beta1 
embedded frame receives focus instead).  The applet works fine when I add 
setFocusable(true) in its ctor or init().  I think this is known imcompatibility
introduced by focus rearchitecture (made in 1.4), although we need to verify if 
the problem is reproducible with 1.4.
  xxxxx@xxxxx   2004-05-24
======================================================================




Probem is reproducible with JDK1.4.2
  xxxxx@xxxxx   2004-05-24

======================================================================
3D Blox game applet on javaonthebrain.com exhibit similar focus issue discussed
in 5051558.  Please see this bug report for evaluation.

  xxxxx@xxxxx   2004-06-22

When user clicks "Play" button in the applet all the buttons disappear
and focus apparently goes to the embedded frame whereas before focus
rearchitecture it went to the canvas.
  xxxxx@xxxxx   2005-07-01 08:14:23 GMT
Posted Date : 2005-07-01 08:14:23.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang