posted 13 years ago
I am drawing strings on a JPanel after I draw the image of a JPG. The paint component method is
I first draw the image of the JPG and this is working; then I call drawOnGlassPane to draw entered strings. Initially, I was drawing on the glass pane of the parent but since it didn't work I tried the graphics of the JPanel
The line "graphics.drawString(enteredText, xCoordinate, yCoordinate);" is being executed.
Your help will be greatly appreciated,
Alejandro Barrero