On Tue, 29 Jun 2021 23:51:06 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> One more time would like to highlight that to get the data of the requested 
> image the user need to do one "if" and two "instanceof". Still hope that we 
> can improve this.

We might when the implementation will be complete on all the relevant 
platforms, then we can be sure that we can provide specific type of an icon 
like ImageIcon or even MultiResolutionImage - but until then i would tend to 
use common denominator like simple Icon.

-------------

PR: https://git.openjdk.java.net/jdk17/pull/178

Reply via email to