/*
 * JXTitledPanelBeanInfo.java
 *
 * Created on March 16, 2006, 12:36 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.jdesktop.swingx;

import java.beans.BeanDescriptor;

/**
 *
 * @author Richard
 */
public class JXTitledPanelBeanInfo extends BeanInfoSupport {
    
    /** Creates a new instance of JXTitledPanelBeanInfo */
    public JXTitledPanelBeanInfo() {
        super(JXTitledPanel.class);
    }
    
    protected void initialize() {
        BeanDescriptor bd = getBeanDescriptor();
        bd.setValue("containerDelegate", "getContentContainer");
        setPreferred(true, "title", "titleFont", "titleForeground", "titlePainter");
    }
}

@@ -1,187 +1,4 @@
-/*%0A * JXTitledPanelBeanInfo.java%0A *%0A * Created on March 16, 2006, 12:36 PM%0A *%0A * To change this template, choose Tools %7C Template Manager%0A * and open the template in the editor.%0A */%0A%0A
 pack
@@ -62,16 +62,53 @@
 r;%0A%0A/**%0A
+ * BeanInfo class for JXTitledPanel.%0A
  *%0A * @a
@@ -120,16 +120,27 @@
  Richard
+, Jan Stola
 %0A */%0Apub
@@ -201,71 +201,8 @@
 t %7B%0A
-    %0A    /** Creates a new instance of JXTitledPanelBeanInfo */
 %0A   
@@ -511,20 +511,149 @@
 ePainter%22);%0A
+        setPreferred(true, %22leftDecoration%22, %22rightDecoration%22);%0A        setPreferred(false, %22alpha%22, %22border%22, %22inheritAlpha%22);%0A
     %7D%0A%7D%0A

Update of JTitledPanel's BeanInfo.