Tag Archives: Graphics2D

Drawing Strings in Swing using Graphics2D

I’ve started a new project again, and this time I’m working on a speed-reader application using Java (more details on that later) One of the problems that I’ve always had with Java Swing UIs is figuring out how to directly draw centered Strings while inside of a paintComponent(Graphics g) method of some JComponent So let’s say you’re [...]
Posted in Java, Linux, Mac, Tech, Win32 | Also tagged , , , , , , , , | Leave a comment