Drawing text on screen

Hey guys, I’m starting to get a bunch of stuff on my game that I’m making in java, the current issue Iv got now is that I’m wanting to make it so that I can talk to NPCs and such, only thing is to do this I need to be able to draw text to the screen. Is there a common method to get this done or what are my options?

Java2D’s way…

You might want to post a lot more info than that for better help though… such as if you are using Java2D, LibGDX, LWJGL, or the like. The more descriptive you are, the better the help. Posting source code so we can see is a huge bonus in terms of getting help.

yeah, I’m using Java2D thanks for the link!