[nbusers] creating custom control from existing custom controls

  • From: "jruland" < >
  • To:
  • Subject: [nbusers] creating custom control from existing custom controls
  • Date: Sun, 07 Mar 2010 18:04:49 +0000

i created a custom panel with text fields, etc. and i want to create another 
control derived from that control. however, none of the components in the 
parent control appear in the derived control. would i be correct to assume 
that this is because i need to call initComponents() on the parent control 
and/or change the access on all the components in the parent control to 
protected?

the problem is that in order to call the parent's initComponents() method in 
the derived control i need to change its access to protected. how do i do 
that? netbeans won't let me modify the code so there must be a way to do that 
using the designer?

any help is much appreciated.






[nbusers] creating custom control from existing custom controls

jruland 03/07/2010

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close