@@ -0,0 +1,1269 @@
+/*%0D%0A * Copyright (C) 2011 Nicolas Peransin. All rights reserved.%0D%0A * Use is subject to license terms.%0D%0A */%0D%0Apackage org.mypsycho.swing.app.reflect;%0D%0A%0D%0Aimport java.awt.BorderLayout;%0D%0Aimport java.awt.Component;%0D%0Aimport java.awt.Container;%0D%0Aimport java.beans.IntrospectionException;%0D%0A%0D%0Aimport javax.swing.JDialog;%0D%0A%0D%0Aimport org.mypsycho.beans.DescriptorExtension;%0D%0A%0D%0A%0D%0A%0D%0A/**%0D%0A * For option view, %22pane%22 property is a direct access to the optionpane%0D%0A *%0D%0A * @author Peransin Nicolas%0D%0A */%0D%0Apublic class DialogPaneProperty extends DescriptorExtension %7B%0D%0A%0D%0A    public DialogPaneProperty() throws IntrospectionException %7B%0D%0A        super(JDialog.class, %22pane%22);%0D%0A    %7D%0D%0A%0D%0A    public Object get(Object bean) %7B%0D%0A        Container container = ((JDialog) bean).getContentPane();%0D%0A        if (!(container.getLayout() instanceof BorderLayout)) %7B%0D%0A            return null;%0D%0A        %7D%0D%0A        BorderLayout lay = ((BorderLayout) container.getLayout());%0D%0A        return lay.getLayoutComponent(BorderLayout.CENTER);%0D%0A    %7D%0D%0A%0D%0A%0D%0A    @Override%0D%0A    public Class%3C?%3E getPropertyType(boolean collection) %7B%0D%0A        return collection ? null : Component.class;%0D%0A    %7D%0D%0A%0D%0A%0D%0A    @Override%0D%0A    public boolean isReadable(Object bean, boolean collection) %7B%0D%0A        return !collection;%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

Add virtual 'pane' property.