Graphics « JTextField « Java Swing Q&A





1. Drawing JTextField on Graphics Context    coderanch.com

Hi All, I have following problem. I have a method which is giving me graphics2d context of the application to draw onto. Now I want to draw a rectangle and also I want to place a Swing JTextField inside this rectangel. I am stuck up with this for last 2 days. If anybody can help me out. The rectangle can be ...