6811674: Container.setComponentZOrder throws NPE
Reviewed-by: art, dcherepanov
This commit is contained in:
parent
ddc1549079
commit
7a593ea895
@ -506,7 +506,9 @@ public class Container extends Component {
|
||||
adjustDescendants(-(comp.countHierarchyMembers()));
|
||||
|
||||
comp.parent = null;
|
||||
comp.setGraphicsConfiguration(null);
|
||||
if (needRemoveNotify) {
|
||||
comp.setGraphicsConfiguration(null);
|
||||
}
|
||||
component.remove(index);
|
||||
|
||||
invalidateIfValid();
|
||||
|
Loading…
x
Reference in New Issue
Block a user