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();
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 handle
Hey ppl. I'm getting problems to show a JTextArea in an applet that I'm working on, and I hope someone can help me. Well, my application is like windows "Paint". You can draw some shapes in it, and can move, reshape it, cause I save every shape reference. And to draw it I overrided the repaint() me