Replacement/alternative for ImageLoader
Answered
I have inherited a piece of code (in a plugin) that calls ImageLoader.loadFromResource(). The code in question loads an image for a WindowWrapper.
com.intellij.util.ImageLoader is deprecated (though it is still widely used within IDEA).
What should I use instead of ImageLoader.loadFromResource()?
Please sign in to leave a comment.
Hi Peter,
The class was un-deprecated recently, so you can use it.
https://github.com/JetBrains/intellij-community/commit/f5e3e8c776063cc37763086f4ff8788acdd817f6