In Swing, in a panel, I use paintComponent to draw strings with different coordinates using Graphics2D:
g2.drawString("one", 0, 0);
g2.drawString("two", 50, 50);
Is there a way to combine the multiple resulting drawings into one drawString?
Edit: I basically draw a musical stave using unicode characters, and I want to draw another stave. I was hoping there would be a clean way of duplicating it.