If a window close control is clicked and subsequently a new window is painted in the same position it should be possible to close the new window without moving the mouse pointer. The bug is that the mouse pointer must be moved some arbitrarily small distance before the close control on the new window will function. Typically this means the mouse pointer will be moved away from the close control and moved back onto the close control. It may be that any mouse movement of any small distance is necessary before the click to close.
Version: 3.2.2 of JChart 2D on Ubuntu 16.04
This bug has been observed since some number of years before 2016. In general JChart 2D is a great product.
Anonymous