1 Jan 01:02
Re: Howto customize generated code method initComponents for a custom Bean? [SOLVED]
Mark Wade <markwade <at> optonline.net>
2010-01-01 00:02:32 GMT
2010-01-01 00:02:32 GMT
You can use the Palette Manager with which you can create a category for your component(s) then add it(them) as a library, jar, or project. You can then just drop your component on the form from the Palette and it will behave just as all the other components in the palette. You will also be able to set its properties, as it will have a Properties tab as any bean in the palette does, but only those that you have set-up to be able to do so. I don't remember how that works but this will tell you I think: http://wiki.netbeans.org/NetBeansJavaBeansTutorial Just noticed that's written by a familiar name here: Wade Chandler. On Dec 29, 2009, at 3:42 PM, ipersubario wrote: > ... put in my JFrame a Custom Bean that extends JTextField. > > Another thing. I've been modified customize code for that component > and it works perfectly. When I add another one NetBeans set old > code. Is there any way to set the code modification as default for > that component? > > Thanks > > > > Mark Wade markwade <at> optonline.net(Continue reading)
RSS Feed