Nov 20, 2001 #1 trungx Programmer Joined Sep 20, 2001 Messages 28 Location VN When I use repaint() with AWT: it's OK, but have problem with Swing: Textbox and Button not appears? Help me!
When I use repaint() with AWT: it's OK, but have problem with Swing: Textbox and Button not appears? Help me!
Nov 21, 2001 #2 pipk Programmer Joined Feb 20, 2001 Messages 455 Location GB hmmm, are you using JApplet? try using either just paint() or paintComponent() sometimes it is also necessary to call the same methods above but for the super class of your class e.g. super.paintComponent(); but it really depends on how you have written the code. If these don't work for you put the code here and let us have a look. Upvote 0 Downvote
hmmm, are you using JApplet? try using either just paint() or paintComponent() sometimes it is also necessary to call the same methods above but for the super class of your class e.g. super.paintComponent(); but it really depends on how you have written the code. If these don't work for you put the code here and let us have a look.