Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5099440

Uncontrolled rapid focus switching between two windows

XMLWordPrintable

    • x86
    • windows_2000

      Name: dk106046 Date: 09/09/2004

      OPERATING SYSTEM(S):
      Windows Server 2003, x64 Standard Edition on AMD64 machine

      FULL JDK VERSION(S):
      java version "1.5.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63)
      Java HotSpot(TM) 64-bit Server VM (build 1.5.0-rc-b63, mixed mode)



      This error occurs when running the bluej interactive java application (from www.bluej.org)


      Steps to reproduce
      ==================
      i) Start the bluej main application then do the following:
      ii) Click on Project -> Open Project...
      iii) Open the "bluejexamples" directory and select "debugdemo"
      iv) This will open debugdemo project... then place the cursor on Demo class and right click on it.
      v) Select "Open Editor" it will open a Demo editor and find the method "carTest" .
      vi) Set a breakpoint for line 'places = myCar.seats()' in the carTest() method.
      vii) After setting the breakpoint, right click on the "Demo" class in the "Bluej: debugdemo"
              window and Create Demo object by selecting "new Demo()" it will open "Create Object window"
              ... then click on "OK" button and the created object is placed on the object panel.
      viii) Place the cursor on the created object and right click and select 'int carTest()'.The Debugger
              window will open ... then click on 'Step Into' button on the Debugger window. After clicking the
              'Step Into' button the Bluej application hangs.

      The hang manifests as two flickering instances of the "Car" window, redrawing on top of one another.
      Minimizing either of these windows appears to stop this redraw cycle, and the test can be completed.

      It appears that the focus is not being set correctly on either "Car" window.

      ======================================================================

            ant Anton Tarasov (Inactive)
            dkorbel David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: