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.

View | Details | Raw Unified | Return to bug 65190
Collapse All | Expand All

(-)projects/projectuiapi/src/org/netbeans/modules/project/uiapi/CustomizerPane.form (-5 / +1 lines)
Lines 1-16 Link Here
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.2" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.2" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <Properties>
5
    <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
6
      <Dimension value="[750, 450]"/>
7
    </Property>
8
  </Properties>
9
  <AuxValues>
4
  <AuxValues>
10
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
5
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
11
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
6
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
12
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
7
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
13
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
8
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
9
    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
14
  </AuxValues>
10
  </AuxValues>
15
11
16
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
12
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
(-)projects/projectuiapi/src/org/netbeans/modules/project/uiapi/CustomizerPane.java (-2 / +1 lines)
Lines 98-104 Link Here
98
98
99
        setLayout(new java.awt.GridBagLayout());
99
        setLayout(new java.awt.GridBagLayout());
100
100
101
        setPreferredSize(new java.awt.Dimension(750, 450));
102
        jLabel1.setLabelFor(categoryPanel);
101
        jLabel1.setLabelFor(categoryPanel);
103
        org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(CustomizerPane.class, "LBL_Customizer_Categories"));
102
        org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(CustomizerPane.class, "LBL_Customizer_Categories"));
104
        gridBagConstraints = new java.awt.GridBagConstraints();
103
        gridBagConstraints = new java.awt.GridBagConstraints();
Lines 109-115 Link Here
109
108
110
        categoryPanel.setLayout(new java.awt.GridBagLayout());
109
        categoryPanel.setLayout(new java.awt.GridBagLayout());
111
110
112
        categoryPanel.setBorder(new javax.swing.border.EtchedBorder());
111
        categoryPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
113
        categoryPanel.setMinimumSize(new java.awt.Dimension(220, 4));
112
        categoryPanel.setMinimumSize(new java.awt.Dimension(220, 4));
114
        categoryPanel.setPreferredSize(new java.awt.Dimension(220, 4));
113
        categoryPanel.setPreferredSize(new java.awt.Dimension(220, 4));
115
        gridBagConstraints = new java.awt.GridBagConstraints();
114
        gridBagConstraints = new java.awt.GridBagConstraints();
(-)projects/projectuiapi/src/org/netbeans/spi/project/ui/support/ProjectCustomizer.java (+12 lines)
Lines 14-19 Link Here
14
package org.netbeans.spi.project.ui.support;
14
package org.netbeans.spi.project.ui.support;
15
15
16
import java.awt.Dialog;
16
import java.awt.Dialog;
17
import java.awt.Dimension;
17
import java.awt.Image;
18
import java.awt.Image;
18
import java.awt.event.ActionListener;
19
import java.awt.event.ActionListener;
19
import javax.swing.JComponent;
20
import javax.swing.JComponent;
Lines 72-78 Link Here
72
                                                 String preselectedCategory,
73
                                                 String preselectedCategory,
73
                                                 ActionListener okOptionListener,
74
                                                 ActionListener okOptionListener,
74
                                                 HelpCtx helpCtx ) {
75
                                                 HelpCtx helpCtx ) {
76
        return createCustomizerDialog(categories, componentProvider, preselectedCategory, okOptionListener, helpCtx, new Dimension(750, 450));
77
    }
78
    
79
    public static Dialog createCustomizerDialog( Category[] categories,
80
            CategoryComponentProvider componentProvider,
81
            String preselectedCategory,
82
            ActionListener okOptionListener,
83
            HelpCtx helpCtx,
84
            Dimension innerPanelPreferredSize ) {
85
        
75
        CustomizerPane innerPane = (CustomizerPane) createCustomizerPane( categories, componentProvider, preselectedCategory );
86
        CustomizerPane innerPane = (CustomizerPane) createCustomizerPane( categories, componentProvider, preselectedCategory );
87
        innerPane.setPreferredSize(innerPanelPreferredSize);
76
        Dialog dialog = CustomizerDialog.createDialog( okOptionListener, innerPane, helpCtx, categories );
88
        Dialog dialog = CustomizerDialog.createDialog( okOptionListener, innerPane, helpCtx, categories );
77
        return dialog;
89
        return dialog;
78
    }
90
    }

Return to bug 65190