This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 195491 - Problem with "Inspector" when new bean is created
Summary: Problem with "Inspector" when new bean is created
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 190914 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-15 09:02 UTC by asenk
Modified: 2011-03-16 11:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description asenk 2011-02-15 09:02:42 UTC
#  Create new Bean based on javax.swing.JButton

   1. Select MyApplication/Source Packages/myapplication in the Project view
   2. Choose from popup New | Other...
   3. Choose Swing GUI Forms > Bean Form and press Next> button.
   4. In New Wizard type name "BeanOnJButton"
   5. Push Next
   6. In New Wizard type superclass "javax.swing.JButton"
   7. Push Finish 

    * EXPECTED RESULT: BeanOnJButton tab is available. Form contains component Palette, Inspector and Form Designer. Node "Form BeanOnJButton" contains subnode : "JButton". 

THIS IS OK

# Create new Bean based on java.awt.Panel

   1. Select MyApplication/Source Packages/myapplication in the Project view
   2. Choose from popup New | Other...
   3. Choose Swing GUI Forms > Bean Form and press Next> button.
   4. In New Wizard type name "BeanOnPanel"
   5. Push Next
   6. In New Wizard type superclass "java.awt.Panel"
   7. Push Finish 

    * EXPECTED RESULT: BeanOnPanel tab is available. Form contains component Palette, Inspector and Form Designer. Node "Form BeanOnPanel" contains subnodes : "Other Components" and "Panel". 

    *REAL RESULT:BeanOnPanel tab is available. Form contains component Palette, Inspector and Form Designer. Node "Form BeanOnPanel" in Inspector is called "Form BeanOnJButton" and contains subnodes : "JButton". 

After creating a new Bean Inspector still contains old Node and subnodes. 
Work Arround: double click on BeanOnPanel in the Project view, then is Inspector reloaded
Comment 1 asenk 2011-02-15 12:46:28 UTC
Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102150001)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Linux version 2.6.32-24-generic running on i386; UTF-8; en_US (nb)
Comment 2 Tomas Pavek 2011-02-21 16:30:18 UTC
Fixed together with bug bug 189837.
Comment 3 Tomas Pavek 2011-02-23 12:16:06 UTC
*** Bug 190914 has been marked as a duplicate of this bug. ***
Comment 4 asenk 2011-03-16 11:45:07 UTC
Product Version: NetBeans IDE Dev (Build 201103160400)
Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02
System: Linux version 2.6.32-24-generic running on i386; UTF-8; en_US (nb)
Comment 5 asenk 2011-03-16 11:45:44 UTC
Verified.