JDK-4987506 : Java2Demo: Unproper handling of reuse of JFrame causes problem
  • Type: Bug
  • Component: client-libs
  • Sub-Component: demo
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2004-02-03
  • Updated: 2019-12-17
  • Resolved: 2019-12-17
Related Reports
Relates :  
Description
When we load Java2Demo, than first comes a Frame with progress bar
which show demo is loading images, etc
Once this loading is complete same JFrame object is used by changing
its size and adding demo panels over it. This reuse process needs to
be handeld properly so that user don't feel it.
Right now once progressbar is completely loaded, its moves little
bit up and for a while java 2 demo's main window shows progress bar
which gives bad impression of flicker.
Attached Images clarify how user actually see this.
Screenshot-1.png: It shows movement of Frame towards top while progressbar
                  is visible
Screenshot-2.png: It shows movement java 2 main window with some tabs and
                  also progress bar of last window over them

Steps to reproduce:
1) Open Java 2 Demo
2) Analyze properly the behaviour of application after loading is finished
   and before java 2 main windows shows up.

Note: More clear to get this effect see properly in slower systems,
      it exist on all platforms.

Comments
EVALUATION Targetted for Dolphin.
26-07-2005

EVALUATION Name: agR10216 Date: 02/04/2004 The demo should also be revised due to the bug 4984970. ###@###.### 2004-02-04 ====================================================================== 4984970 was closed as a duplicate of a bug regarding and AWT synchronization problem. The problem mentioned in this bug report will need to be addressed independently. ###@###.### 2004-02-17 From ###@###.### The fix requires some restructuring in the suite. Will be fixed after tiger
17-02-2004