File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

drawing in a JPanel?

 
Justin Fox
Ranch Hand
Posts: 802
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you use paintComponent in a JPanel?..

or only in a JApplet?

Justin
 
kwame Iwegbue
Ranch Hand
Posts: 197
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but you can't call it yourself, instead the System calls it for you, when you call repaint for example.


Check the API
[ September 20, 2006: Message edited by: kwame Iwegbue ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic