are you trying to draw the JTextArea within the image or use it as an actual
child component that users can work with?
leouser
[Message sent by forum member 'leouser' (leouser)]
http://forums.java.net/jive/thread.jspa?messageID=111849
I Forgot to mention that, but I did override the paintComponent() method like this :public void paintComponent(Graphics g){
super.paintComponent(g); update(g); }
public void update(Graphics g){ Graphics2D g2D = (Graphics2D) g;
Dimension dim = getSize(); int w = dim.width;
int h = dim.height;
You need to override paintComponent(), not paint(). If you override
paint(), you need to draw the children of the current component
yourself (paint draws borders, children, etc.). But if you override
paintComponent(), then your responsible only for the component's
contents, and Swing will