void releaseChildren(boolean destroy) { if (horizontalBar != null) { horizontalBar.release(false); horizontalBar = null; } if (verticalBar != null) { verticalBar.release(false); verticalBar = null; } super.releaseChildren(destroy); }