|
|
@ -26,6 +26,7 @@ import java.awt.image.BufferedImage; |
|
|
|
import java.io.Serializable; |
|
|
|
import java.io.Serializable; |
|
|
|
import java.net.MalformedURLException; |
|
|
|
import java.net.MalformedURLException; |
|
|
|
import java.net.URI; |
|
|
|
import java.net.URI; |
|
|
|
|
|
|
|
import java.util.Objects; |
|
|
|
import java.util.concurrent.atomic.AtomicBoolean; |
|
|
|
import java.util.concurrent.atomic.AtomicBoolean; |
|
|
|
import java.util.logging.Level; |
|
|
|
import java.util.logging.Level; |
|
|
|
import java.util.logging.Logger; |
|
|
|
import java.util.logging.Logger; |
|
|
@ -147,6 +148,7 @@ public class DarkSVGIcon |
|
|
|
} catch (MalformedURLException e) { |
|
|
|
} catch (MalformedURLException e) { |
|
|
|
LOGGER.log(Level.SEVERE, e.getMessage(), e); |
|
|
|
LOGGER.log(Level.SEVERE, e.getMessage(), e); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
Objects.requireNonNull(svgDocument, () -> "Document failed to load: " + iconUri.toASCIIString()); |
|
|
|
loaded.set(true); |
|
|
|
loaded.set(true); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|