Issue is if we create a floating JToolBar at the EAST side and drag it and then 
if we close the floating toolbar, then it gets docket at NORTH side instead of 
the EAST side where it was docked before being floated.
This is because of some contentious code in BasicToolBarUI where we change the 
constaint to NORTH if it is EAST/WEST.
I could not find any JBS which did that code change.

Albeit, removing that piece of code does not cause regression in "clientlibs" 
jtreg/jck tests in addition to solve this anomaly, so thought, removing the 
code seems prudent..

-------------

Commit messages:
 - test fix
 - test fix
 - 6664309: Docking point of a floating toolbar changes after closing
 - Merge branch 'master' of github.com:prsadhuk/jdk
 - Merge remote-tracking branch 'upstream/master'
 - Merge remote-tracking branch 'upstream/master'
 - Revert "Fix"
 - Fix

Changes: https://git.openjdk.org/jdk/pull/14444/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14444&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-6664309
  Stats: 110 lines in 2 files changed: 101 ins; 9 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/14444.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14444/head:pull/14444

PR: https://git.openjdk.org/jdk/pull/14444

Reply via email to