Code Comments
Programming Forum and web based access to our favorite programming groups.I'm designing a bean which extends JComponent and would like to have it paint differently in the NetBeans form editor than it does when I execute it at runtime. Is there a way to do this? Perhaps a system property to check to see if it is running from within an editor? Another problem I encountered - when I paint the bean using paintComponent() in the NetBeans for editor, it causes a StackOverflowError and NetBeans crashes. Am I not supposed to use this method for repainting, or is this a NetBeans problem? Mark McKay -- http://www.kitfox.com
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.