SVG support for Swing icons etc.? (Useful for HiDPI)

2016-09-22 Thread Eirik Bakke
Hi, swing-dev. I see there's a lot of work going on to make Swing work well with HiDPI/Retina displays, including the new MultiResolutionImage API ( http://openjdk.java.net/jeps/251 ). It's now up to application developers to provide icons and other image assets in multiple resolutions. My bet

Re: [9] Review request for 8165594 Bad rendering of Swing UI controls with Windows Classic L&F on HiDPI display

2016-09-22 Thread Sergey Bylokhov
Looks fine. Can you please check the "thumb" in the scroll bar in text area as well(it is invisible in the current screenshots) On 20.09.16 19:35, Alexandr Scherbatiy wrote: Thank you for the suggested code. Could you review the updated fix: http://cr.openjdk.java.net/~alexsch/816559

Re: SVG support for Swing icons etc.? (Useful for HiDPI)

2016-09-22 Thread Philip Race
There is no work currently planned along those lines. If there were it would be JDK10 at the earliest. The alternative is that you custom render the exact size that is needed onto a BufferedImage using Graphic2D calls and hand that over. Granted it is not the same as bundling an SVG resource with