On Sun, 2 Feb 2020 at 18:28, Scott Palmer <[email protected]> wrote:
> Does anyone else see really ugly text in the memory usage widget on the > toolbar? > I had a quick look at this. It's very odd, rendering text into a Graphics2D derived from a BufferedImage (which is what the current dropshadow does) comes out differently from rendering to the Graphics2D supplied to the paintComponent method. Also the current code seems quite complicated and I'm not sure why. e.g. it creates a new Runnable to render the text. I tried using the cheap & cheerful way of drawing the text twice, the first time displaced and in a darker colour. It is more subtle than the current method of using ConvolveOps etc. but looks "not terrible" to my eye. To be honest, not having a drop shadow at all looks fine to me. Let me know what you think of the image below: [image: Annotation 2020-02-03 121418.jpg] The change is just one file, with 13 insertions and 94 deletions, so just a slight reduction in LOC.
