void (final X509Certificate certificate) { UIUtil.invokeLaterIfNeeded(() -> { if (myTreeBuilder != null && myCertificates.contains(certificate)) { myCertificates.remove(certificate); myTreeBuilder.removeCertificate(certificate); } }); }