[messages] [Module Support] Drawing Java Components On Game Pieces

Brent Easton b.easton at exemail.com.au
Thu May 8 00:17:56 CEST 2014

It is probably drawing the JLabel, but in the wrong place where you
can't see it. Swing components aren't really supposed to be used in that

Try using the Graphics class directly to draw to see if you can get
anything happening:

g.setFont(new Font("Dialog", 0, (int) (14 * zoom));
g.drawString("Hello", x, y);

Read this topic online here:

More information about the messages mailing list