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 218422
Collapse All | Expand All

(-)a/java.j2seproject/apichanges.xml (+16 lines)
Lines 107-112 Link Here
107
107
108
    <changes>
108
    <changes>
109
109
110
        <change id="J2SECategoryExtensionProvider">
111
            <api name="jseprojects"/>
112
            <summary></summary>
113
            <version major="1" minor="59"/>
114
            <date day="12" month="3" year="2013"/>
115
            <author login="psomol"/>
116
            <compatibility addition="yes"/>
117
            <description>
118
                <code>J2SECategoryExtensionProvider</code> so far restricted the possibility to extend
119
                panels in Project Properties dialog to Run and Package panels only. Now it is possible 
120
                to extend also Application panel.
121
            </description>
122
            <class package="org.netbeans.modules.java.j2seproject.api" name="J2SECategoryExtensionProvider"/>
123
            <issue number="218422"/>
124
        </change>
125
110
        <change id="GeneratedFilesInterceptor">
126
        <change id="GeneratedFilesInterceptor">
111
            <api name="jseprojects"/>
127
            <api name="jseprojects"/>
112
            <summary></summary>
128
            <summary></summary>
(-)a/java.j2seproject/nbproject/project.properties (-1 / +1 lines)
Lines 42-48 Link Here
42
42
43
javac.compilerargs=-Xlint -Xlint:-serial
43
javac.compilerargs=-Xlint -Xlint:-serial
44
javac.source=1.6
44
javac.source=1.6
45
spec.version.base=1.58.0
45
spec.version.base=1.59.0
46
46
47
javadoc.arch=${basedir}/arch.xml
47
javadoc.arch=${basedir}/arch.xml
48
javadoc.apichanges=${basedir}/apichanges.xml
48
javadoc.apichanges=${basedir}/apichanges.xml
(-)a/java.j2seproject/src/org/netbeans/modules/java/j2seproject/api/J2SECategoryExtensionProvider.java (-1 / +1 lines)
Lines 64-70 Link Here
64
    /**
64
    /**
65
     * Enumeration of categories for which extension is currently allowed
65
     * Enumeration of categories for which extension is currently allowed
66
     */
66
     */
67
    enum ExtensibleCategory { PACKAGING, RUN }
67
    enum ExtensibleCategory { PACKAGING, RUN, APPLICATION }
68
            
68
            
69
    /**
69
    /**
70
     * Provides identifier of category whose panel should be extended by this component provider
70
     * Provides identifier of category whose panel should be extended by this component provider
(-)a/java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties (-11 / +11 lines)
Lines 537-553 Link Here
537
CustomizerRun.input.empty=Configuration name cannot be empty.
537
CustomizerRun.input.empty=Configuration name cannot be empty.
538
538
539
TXT_Encoding=&Encoding\:
539
TXT_Encoding=&Encoding\:
540
CustomizerApplication.titleLabel.text=&Title\:
541
CustomizerApplication.vendorLabel.text=&Vendor\:
542
CustomizerApplication.panelDescLabel.text=Common Application Properties
543
CustomizerApplication.descLabel.text=&Description\:
544
CustomizerApplication.homepageLabel.text=Homepa&ge\:
545
CustomizerApplication.splashLabel.text=S&plash Screen\:
546
CustomizerApplication.titleTextField.text=
547
CustomizerApplication.vendorTextField.text=
548
CustomizerApplication.homepageTextField.text=
549
CustomizerApplication.splashTextField.text=
550
CustomizerApplication.browseButton.text=&Browse ...
551
LBL_Select_Splash_Image=Select Splash Image
540
LBL_Select_Splash_Image=Select Splash Image
552
TXT_SplashImageFiles=Splash image files
541
TXT_SplashImageFiles=Splash image files
553
542
Lines 632-634 Link Here
632
LBL_Profile=&Profile:
621
LBL_Profile=&Profile:
633
AN_Profile=Profile:
622
AN_Profile=Profile:
634
AD_Profile=JDK 8 Compact Profile
623
AD_Profile=JDK 8 Compact Profile
624
CustomizerApplication.panelDescLabel.text=Common Application Properties
625
CustomizerApplication.titleLabel.text=&Title:
626
CustomizerApplication.vendorLabel.text=&Vendor:
627
CustomizerApplication.descLabel.text=&Description:
628
CustomizerApplication.homepageLabel.text=Homepa&ge:
629
CustomizerApplication.splashLabel.text=S&plash Screen:
630
CustomizerApplication.titleTextField.text=
631
CustomizerApplication.vendorTextField.text=
632
CustomizerApplication.homepageTextField.text=
633
CustomizerApplication.splashTextField.text=
634
CustomizerApplication.browseButton.text=&Browse ...
(-)a/java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/CustomizerApplication.form (-252 / +179 lines)
Lines 1-4 Link Here
1
<?xml version="1.1" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.4" maxVersion="1.4" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.4" maxVersion="1.4" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <AuxValues>
4
  <AuxValues>
Lines 15-285 Link Here
15
15
16
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
16
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
17
  <SubComponents>
17
  <SubComponents>
18
    <Component class="javax.swing.JLabel" name="panelDescLabel">
18
    <Container class="javax.swing.JPanel" name="mainPanel">
19
      <Properties>
20
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
21
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.panelDescLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
22
        </Property>
23
      </Properties>
24
      <AccessibilityProperties>
25
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
26
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_CommonAppProps_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
27
        </Property>
28
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
29
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_CommonAppProps_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
30
        </Property>
31
      </AccessibilityProperties>
32
      <Constraints>
33
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
34
          <GridBagConstraints gridX="0" gridY="0" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="10" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
35
        </Constraint>
36
      </Constraints>
37
    </Component>
38
    <Component class="javax.swing.JLabel" name="titleLabel">
39
      <Properties>
40
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
41
          <ComponentRef name="titleTextField"/>
42
        </Property>
43
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
44
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.titleLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
45
        </Property>
46
      </Properties>
47
      <AccessibilityProperties>
48
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
49
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Title_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
50
        </Property>
51
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
52
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Title_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
53
        </Property>
54
      </AccessibilityProperties>
55
      <Constraints>
56
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
57
          <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="9" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
58
        </Constraint>
59
      </Constraints>
60
    </Component>
61
    <Component class="javax.swing.JLabel" name="vendorLabel">
62
      <Properties>
63
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
64
          <ComponentRef name="vendorTextField"/>
65
        </Property>
66
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
67
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.vendorLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
68
        </Property>
69
      </Properties>
70
      <AccessibilityProperties>
71
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
72
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Vendor_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
73
        </Property>
74
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
75
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Vendor_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
76
        </Property>
77
      </AccessibilityProperties>
78
      <Constraints>
79
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
80
          <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="7" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
81
        </Constraint>
82
      </Constraints>
83
    </Component>
84
    <Component class="javax.swing.JLabel" name="descLabel">
85
      <Properties>
86
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
87
          <ComponentRef name="descTextArea"/>
88
        </Property>
89
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
90
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.descLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
91
        </Property>
92
      </Properties>
93
      <AccessibilityProperties>
94
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
95
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Description_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
96
        </Property>
97
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
98
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Description_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
99
        </Property>
100
      </AccessibilityProperties>
101
      <Constraints>
102
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
103
          <GridBagConstraints gridX="0" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="7" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
104
        </Constraint>
105
      </Constraints>
106
    </Component>
107
    <Component class="javax.swing.JLabel" name="homepageLabel">
108
      <Properties>
109
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
110
          <ComponentRef name="homepageTextField"/>
111
        </Property>
112
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
113
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.homepageLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
114
        </Property>
115
      </Properties>
116
      <AccessibilityProperties>
117
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
118
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Homepage_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
119
        </Property>
120
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
121
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Homepage_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
122
        </Property>
123
      </AccessibilityProperties>
124
      <Constraints>
125
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
126
          <GridBagConstraints gridX="0" gridY="4" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="8" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
127
        </Constraint>
128
      </Constraints>
129
    </Component>
130
    <Component class="javax.swing.JLabel" name="splashLabel">
131
      <Properties>
132
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
133
          <ComponentRef name="splashTextField"/>
134
        </Property>
135
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
136
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.splashLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
137
        </Property>
138
      </Properties>
139
      <AccessibilityProperties>
140
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
141
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_SplashScreen_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
142
        </Property>
143
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
144
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_SplashScreen_Label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
145
        </Property>
146
      </AccessibilityProperties>
147
      <Constraints>
148
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
149
          <GridBagConstraints gridX="0" gridY="5" gridWidth="1" gridHeight="0" fill="0" ipadX="0" ipadY="0" insetsTop="8" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="1.0"/>
150
        </Constraint>
151
      </Constraints>
152
    </Component>
153
    <Component class="javax.swing.JTextField" name="titleTextField">
154
      <Properties>
155
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
156
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.titleTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
157
        </Property>
158
      </Properties>
159
      <AccessibilityProperties>
160
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
161
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Title_TextField" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
162
        </Property>
163
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
164
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Title_TextField" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
165
        </Property>
166
      </AccessibilityProperties>
167
      <Constraints>
168
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
169
          <GridBagConstraints gridX="1" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="17" weightX="1.0" weightY="0.0"/>
170
        </Constraint>
171
      </Constraints>
172
    </Component>
173
    <Component class="javax.swing.JTextField" name="vendorTextField">
174
      <Properties>
175
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
176
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.vendorTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
177
        </Property>
178
      </Properties>
179
      <AccessibilityProperties>
180
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
181
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Vendor_TextField" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
182
        </Property>
183
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
184
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Vendor_TextField" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
185
        </Property>
186
      </AccessibilityProperties>
187
      <Constraints>
188
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
189
          <GridBagConstraints gridX="1" gridY="2" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="17" weightX="1.0" weightY="0.0"/>
190
        </Constraint>
191
      </Constraints>
192
    </Component>
193
    <Component class="javax.swing.JTextField" name="homepageTextField">
194
      <Properties>
195
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
196
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.homepageTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
197
        </Property>
198
      </Properties>
199
      <AccessibilityProperties>
200
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
201
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Homepage_TextField" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
202
        </Property>
203
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
204
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Homepage_TextField" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
205
        </Property>
206
      </AccessibilityProperties>
207
      <Constraints>
208
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
209
          <GridBagConstraints gridX="1" gridY="4" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="17" weightX="1.0" weightY="0.0"/>
210
        </Constraint>
211
      </Constraints>
212
    </Component>
213
    <Component class="javax.swing.JTextField" name="splashTextField">
214
      <Properties>
215
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
216
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.splashTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
217
        </Property>
218
      </Properties>
219
      <AccessibilityProperties>
220
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
221
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_SplashScreen_TextField" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
222
        </Property>
223
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
224
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_SplashScreen_TextField" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
225
        </Property>
226
      </AccessibilityProperties>
227
      <Constraints>
228
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
229
          <GridBagConstraints gridX="1" gridY="5" gridWidth="1" gridHeight="0" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="11" weightX="1.0" weightY="1.0"/>
230
        </Constraint>
231
      </Constraints>
232
    </Component>
233
    <Component class="javax.swing.JButton" name="browseButton">
234
      <Properties>
235
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
236
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.browseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
237
        </Property>
238
      </Properties>
239
      <AccessibilityProperties>
240
        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
241
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Browse_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
242
        </Property>
243
        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
244
          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Browse_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
245
        </Property>
246
      </AccessibilityProperties>
247
      <Events>
248
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
249
      </Events>
250
      <Constraints>
251
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
252
          <GridBagConstraints gridX="2" gridY="5" gridWidth="0" gridHeight="0" fill="0" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="11" weightX="0.0" weightY="1.0"/>
253
        </Constraint>
254
      </Constraints>
255
    </Component>
256
    <Container class="javax.swing.JScrollPane" name="jScrollPane1">
257
      <AuxValues>
19
      <AuxValues>
258
        <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
20
        <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,-94,0,0,2,65"/>
259
      </AuxValues>
21
      </AuxValues>
260
      <Constraints>
22
      <Constraints>
261
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
23
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
262
          <GridBagConstraints gridX="1" gridY="3" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="18" weightX="1.0" weightY="0.0"/>
24
          <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="23" weightX="0.0" weightY="0.0"/>
263
        </Constraint>
25
        </Constraint>
264
      </Constraints>
26
      </Constraints>
265
27
266
      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
28
      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
267
      <SubComponents>
29
      <SubComponents>
268
        <Component class="javax.swing.JTextArea" name="descTextArea">
30
        <Component class="javax.swing.JLabel" name="panelDescLabel">
269
          <Properties>
31
          <Properties>
270
            <Property name="columns" type="int" value="8"/>
32
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
271
            <Property name="rows" type="int" value="4"/>
33
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.panelDescLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
34
            </Property>
272
          </Properties>
35
          </Properties>
273
          <AccessibilityProperties>
36
          <Constraints>
274
            <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
37
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
275
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSN_Description_TextArea" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
38
              <GridBagConstraints gridX="0" gridY="0" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="10" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
39
            </Constraint>
40
          </Constraints>
41
        </Component>
42
        <Component class="javax.swing.JLabel" name="titleLabel">
43
          <Properties>
44
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
45
              <ComponentRef name="titleTextField"/>
276
            </Property>
46
            </Property>
277
            <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
47
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
278
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="ACSD_Description_TextArea" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
48
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.titleLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
279
            </Property>
49
            </Property>
280
          </AccessibilityProperties>
50
          </Properties>
51
          <Constraints>
52
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
53
              <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="9" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
54
            </Constraint>
55
          </Constraints>
281
        </Component>
56
        </Component>
57
        <Component class="javax.swing.JLabel" name="vendorLabel">
58
          <Properties>
59
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
60
              <ComponentRef name="vendorTextField"/>
61
            </Property>
62
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
63
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.vendorLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
64
            </Property>
65
          </Properties>
66
          <Constraints>
67
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
68
              <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="7" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
69
            </Constraint>
70
          </Constraints>
71
        </Component>
72
        <Component class="javax.swing.JLabel" name="descLabel">
73
          <Properties>
74
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
75
              <ComponentRef name="default"/>
76
            </Property>
77
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
78
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.descLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
79
            </Property>
80
          </Properties>
81
          <Constraints>
82
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
83
              <GridBagConstraints gridX="0" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="7" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
84
            </Constraint>
85
          </Constraints>
86
        </Component>
87
        <Component class="javax.swing.JLabel" name="homepageLabel">
88
          <Properties>
89
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
90
              <ComponentRef name="homepageTextField"/>
91
            </Property>
92
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
93
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.homepageLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
94
            </Property>
95
          </Properties>
96
          <Constraints>
97
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
98
              <GridBagConstraints gridX="0" gridY="4" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="8" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
99
            </Constraint>
100
          </Constraints>
101
        </Component>
102
        <Component class="javax.swing.JLabel" name="splashLabel">
103
          <Properties>
104
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
105
              <ComponentRef name="splashTextField"/>
106
            </Property>
107
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
108
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.splashLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
109
            </Property>
110
          </Properties>
111
          <Constraints>
112
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
113
              <GridBagConstraints gridX="0" gridY="5" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="8" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
114
            </Constraint>
115
          </Constraints>
116
        </Component>
117
        <Component class="javax.swing.JTextField" name="titleTextField">
118
          <Properties>
119
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
120
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.titleTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
121
            </Property>
122
          </Properties>
123
          <Constraints>
124
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
125
              <GridBagConstraints gridX="1" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="17" weightX="1.0" weightY="0.0"/>
126
            </Constraint>
127
          </Constraints>
128
        </Component>
129
        <Component class="javax.swing.JTextField" name="vendorTextField">
130
          <Properties>
131
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
132
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.vendorTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
133
            </Property>
134
          </Properties>
135
          <Constraints>
136
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
137
              <GridBagConstraints gridX="1" gridY="2" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="17" weightX="1.0" weightY="0.0"/>
138
            </Constraint>
139
          </Constraints>
140
        </Component>
141
        <Component class="javax.swing.JTextField" name="homepageTextField">
142
          <Properties>
143
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
144
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.homepageTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
145
            </Property>
146
          </Properties>
147
          <Constraints>
148
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
149
              <GridBagConstraints gridX="1" gridY="4" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="17" weightX="1.0" weightY="0.0"/>
150
            </Constraint>
151
          </Constraints>
152
        </Component>
153
        <Component class="javax.swing.JTextField" name="splashTextField">
154
          <Properties>
155
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
156
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.splashTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
157
            </Property>
158
          </Properties>
159
          <Constraints>
160
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
161
              <GridBagConstraints gridX="1" gridY="5" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="11" weightX="1.0" weightY="0.0"/>
162
            </Constraint>
163
          </Constraints>
164
        </Component>
165
        <Component class="javax.swing.JButton" name="browseButton">
166
          <Properties>
167
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
168
              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CustomizerApplication.browseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
169
            </Property>
170
          </Properties>
171
          <Events>
172
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
173
          </Events>
174
          <Constraints>
175
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
176
              <GridBagConstraints gridX="2" gridY="5" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="11" weightX="0.0" weightY="0.0"/>
177
            </Constraint>
178
          </Constraints>
179
        </Component>
180
        <Container class="javax.swing.JScrollPane" name="jScrollPane">
181
          <AuxValues>
182
            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
183
          </AuxValues>
184
          <Constraints>
185
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
186
              <GridBagConstraints gridX="1" gridY="3" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="18" weightX="1.0" weightY="0.0"/>
187
            </Constraint>
188
          </Constraints>
189
190
          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
191
          <SubComponents>
192
            <Component class="javax.swing.JTextArea" name="descTextArea1">
193
              <Properties>
194
                <Property name="columns" type="int" value="8"/>
195
                <Property name="rows" type="int" value="4"/>
196
              </Properties>
197
            </Component>
198
          </SubComponents>
199
        </Container>
282
      </SubComponents>
200
      </SubComponents>
283
    </Container>
201
    </Container>
202
    <Container class="javax.swing.JPanel" name="extPanel">
203
      <Constraints>
204
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
205
          <GridBagConstraints gridX="0" gridY="1" gridWidth="0" gridHeight="0" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.1" weightY="0.1"/>
206
        </Constraint>
207
      </Constraints>
208
209
      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
210
    </Container>
284
  </SubComponents>
211
  </SubComponents>
285
</Form>
212
</Form>
(-)a/java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/CustomizerApplication.java (-67 / +103 lines)
Lines 44-52 Link Here
44
44
45
package org.netbeans.modules.java.j2seproject.ui.customizer;
45
package org.netbeans.modules.java.j2seproject.ui.customizer;
46
46
47
import java.awt.Dimension;
47
import java.io.File;
48
import java.io.File;
49
import java.util.LinkedList;
50
import java.util.Map;
51
import javax.swing.Box;
52
import javax.swing.JComponent;
48
import javax.swing.JFileChooser;
53
import javax.swing.JFileChooser;
49
import javax.swing.filechooser.FileFilter;
54
import javax.swing.filechooser.FileFilter;
55
import org.netbeans.api.project.Project;
56
import org.netbeans.modules.java.j2seproject.J2SEProject;
57
import org.netbeans.modules.java.j2seproject.api.J2SECategoryExtensionProvider;
58
import org.netbeans.modules.java.j2seproject.api.J2SERunConfigProvider;
50
import org.openide.filesystems.FileUtil;
59
import org.openide.filesystems.FileUtil;
51
import org.openide.util.HelpCtx;
60
import org.openide.util.HelpCtx;
52
import org.openide.util.NbBundle;
61
import org.openide.util.NbBundle;
Lines 60-74 Link Here
60
public class CustomizerApplication extends javax.swing.JPanel implements HelpCtx.Provider {
69
public class CustomizerApplication extends javax.swing.JPanel implements HelpCtx.Provider {
61
    
70
    
62
    private File lastImageFolder;
71
    private File lastImageFolder;
72
    private J2SEProject project;
73
    
74
    private java.util.List<J2SECategoryExtensionProvider> compProviders = new LinkedList<J2SECategoryExtensionProvider>();
75
    private int nextExtensionYPos;
63
    
76
    
64
    /** Creates new form CustomizerApplication */
77
    /** Creates new form CustomizerApplication */
65
    public CustomizerApplication(J2SEProjectProperties props) {
78
    public CustomizerApplication(J2SEProjectProperties props) {
66
        initComponents();
79
        initComponents();
67
        titleTextField.setDocument(props.APPLICATION_TITLE_DOC);
80
        titleTextField.setDocument(props.APPLICATION_TITLE_DOC);
68
        vendorTextField.setDocument(props.APPLICATION_VENDOR_DOC);
81
        vendorTextField.setDocument(props.APPLICATION_VENDOR_DOC);
69
        descTextArea.setDocument(props.APPLICATION_DESC_DOC);
82
        descTextArea1.setDocument(props.APPLICATION_DESC_DOC);
70
        homepageTextField.setDocument(props.APPLICATION_HOMEPAGE_DOC);
83
        homepageTextField.setDocument(props.APPLICATION_HOMEPAGE_DOC);
71
        splashTextField.setDocument(props.APPLICATION_SPLASH_DOC);
84
        splashTextField.setDocument(props.APPLICATION_SPLASH_DOC);
85
86
        this.project = props.getProject();
87
        for (J2SECategoryExtensionProvider compProvider : project.getLookup().lookupAll(J2SECategoryExtensionProvider.class)) {
88
            if( compProvider.getCategory() == J2SECategoryExtensionProvider.ExtensibleCategory.APPLICATION ) {
89
                if( addExtPanel(project,compProvider,nextExtensionYPos) ) {
90
                    compProviders.add(compProvider);
91
                    nextExtensionYPos++;
92
                }
93
            }
94
        }
95
        addPanelFiller(nextExtensionYPos);
72
    }
96
    }
73
    
97
    
74
    /** This method is called from within the constructor to
98
    /** This method is called from within the constructor to
Lines 80-85 Link Here
80
    private void initComponents() {
104
    private void initComponents() {
81
        java.awt.GridBagConstraints gridBagConstraints;
105
        java.awt.GridBagConstraints gridBagConstraints;
82
106
107
        mainPanel = new javax.swing.JPanel();
83
        panelDescLabel = new javax.swing.JLabel();
108
        panelDescLabel = new javax.swing.JLabel();
84
        titleLabel = new javax.swing.JLabel();
109
        titleLabel = new javax.swing.JLabel();
85
        vendorLabel = new javax.swing.JLabel();
110
        vendorLabel = new javax.swing.JLabel();
Lines 91-101 Link Here
91
        homepageTextField = new javax.swing.JTextField();
116
        homepageTextField = new javax.swing.JTextField();
92
        splashTextField = new javax.swing.JTextField();
117
        splashTextField = new javax.swing.JTextField();
93
        browseButton = new javax.swing.JButton();
118
        browseButton = new javax.swing.JButton();
94
        jScrollPane1 = new javax.swing.JScrollPane();
119
        jScrollPane = new javax.swing.JScrollPane();
95
        descTextArea = new javax.swing.JTextArea();
120
        descTextArea1 = new javax.swing.JTextArea();
121
        extPanel = new javax.swing.JPanel();
96
122
97
        setLayout(new java.awt.GridBagLayout());
123
        setLayout(new java.awt.GridBagLayout());
98
124
125
        mainPanel.setLayout(new java.awt.GridBagLayout());
126
99
        org.openide.awt.Mnemonics.setLocalizedText(panelDescLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.panelDescLabel.text")); // NOI18N
127
        org.openide.awt.Mnemonics.setLocalizedText(panelDescLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.panelDescLabel.text")); // NOI18N
100
        gridBagConstraints = new java.awt.GridBagConstraints();
128
        gridBagConstraints = new java.awt.GridBagConstraints();
101
        gridBagConstraints.gridx = 0;
129
        gridBagConstraints.gridx = 0;
Lines 104-112 Link Here
104
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
132
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
105
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
133
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
106
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 10, 0);
134
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 10, 0);
107
        add(panelDescLabel, gridBagConstraints);
135
        mainPanel.add(panelDescLabel, gridBagConstraints);
108
        panelDescLabel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_CommonAppProps_Label")); // NOI18N
109
        panelDescLabel.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_CommonAppProps_Label")); // NOI18N
110
136
111
        titleLabel.setLabelFor(titleTextField);
137
        titleLabel.setLabelFor(titleTextField);
112
        org.openide.awt.Mnemonics.setLocalizedText(titleLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.titleLabel.text")); // NOI18N
138
        org.openide.awt.Mnemonics.setLocalizedText(titleLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.titleLabel.text")); // NOI18N
Lines 115-123 Link Here
115
        gridBagConstraints.gridy = 1;
141
        gridBagConstraints.gridy = 1;
116
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
142
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
117
        gridBagConstraints.insets = new java.awt.Insets(9, 0, 0, 0);
143
        gridBagConstraints.insets = new java.awt.Insets(9, 0, 0, 0);
118
        add(titleLabel, gridBagConstraints);
144
        mainPanel.add(titleLabel, gridBagConstraints);
119
        titleLabel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Title_Label")); // NOI18N
120
        titleLabel.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Title_Label")); // NOI18N
121
145
122
        vendorLabel.setLabelFor(vendorTextField);
146
        vendorLabel.setLabelFor(vendorTextField);
123
        org.openide.awt.Mnemonics.setLocalizedText(vendorLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.vendorLabel.text")); // NOI18N
147
        org.openide.awt.Mnemonics.setLocalizedText(vendorLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.vendorLabel.text")); // NOI18N
Lines 126-145 Link Here
126
        gridBagConstraints.gridy = 2;
150
        gridBagConstraints.gridy = 2;
127
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
151
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
128
        gridBagConstraints.insets = new java.awt.Insets(7, 0, 0, 0);
152
        gridBagConstraints.insets = new java.awt.Insets(7, 0, 0, 0);
129
        add(vendorLabel, gridBagConstraints);
153
        mainPanel.add(vendorLabel, gridBagConstraints);
130
        vendorLabel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Vendor_Label")); // NOI18N
131
        vendorLabel.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Vendor_Label")); // NOI18N
132
154
133
        descLabel.setLabelFor(descTextArea);
134
        org.openide.awt.Mnemonics.setLocalizedText(descLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.descLabel.text")); // NOI18N
155
        org.openide.awt.Mnemonics.setLocalizedText(descLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.descLabel.text")); // NOI18N
135
        gridBagConstraints = new java.awt.GridBagConstraints();
156
        gridBagConstraints = new java.awt.GridBagConstraints();
136
        gridBagConstraints.gridx = 0;
157
        gridBagConstraints.gridx = 0;
137
        gridBagConstraints.gridy = 3;
158
        gridBagConstraints.gridy = 3;
138
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
159
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
139
        gridBagConstraints.insets = new java.awt.Insets(7, 0, 0, 0);
160
        gridBagConstraints.insets = new java.awt.Insets(7, 0, 0, 0);
140
        add(descLabel, gridBagConstraints);
161
        mainPanel.add(descLabel, gridBagConstraints);
141
        descLabel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Description_Label")); // NOI18N
142
        descLabel.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Description_Label")); // NOI18N
143
162
144
        homepageLabel.setLabelFor(homepageTextField);
163
        homepageLabel.setLabelFor(homepageTextField);
145
        org.openide.awt.Mnemonics.setLocalizedText(homepageLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.homepageLabel.text")); // NOI18N
164
        org.openide.awt.Mnemonics.setLocalizedText(homepageLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.homepageLabel.text")); // NOI18N
Lines 148-169 Link Here
148
        gridBagConstraints.gridy = 4;
167
        gridBagConstraints.gridy = 4;
149
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
168
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
150
        gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 0);
169
        gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 0);
151
        add(homepageLabel, gridBagConstraints);
170
        mainPanel.add(homepageLabel, gridBagConstraints);
152
        homepageLabel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Homepage_Label")); // NOI18N
153
        homepageLabel.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Homepage_Label")); // NOI18N
154
171
155
        splashLabel.setLabelFor(splashTextField);
172
        splashLabel.setLabelFor(splashTextField);
156
        org.openide.awt.Mnemonics.setLocalizedText(splashLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.splashLabel.text")); // NOI18N
173
        org.openide.awt.Mnemonics.setLocalizedText(splashLabel, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.splashLabel.text")); // NOI18N
157
        gridBagConstraints = new java.awt.GridBagConstraints();
174
        gridBagConstraints = new java.awt.GridBagConstraints();
158
        gridBagConstraints.gridx = 0;
175
        gridBagConstraints.gridx = 0;
159
        gridBagConstraints.gridy = 5;
176
        gridBagConstraints.gridy = 5;
160
        gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
161
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
177
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
162
        gridBagConstraints.weighty = 1.0;
163
        gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 0);
178
        gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 0);
164
        add(splashLabel, gridBagConstraints);
179
        mainPanel.add(splashLabel, gridBagConstraints);
165
        splashLabel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_SplashScreen_Label")); // NOI18N
166
        splashLabel.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_SplashScreen_Label")); // NOI18N
167
180
168
        titleTextField.setText(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.titleTextField.text")); // NOI18N
181
        titleTextField.setText(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.titleTextField.text")); // NOI18N
169
        gridBagConstraints = new java.awt.GridBagConstraints();
182
        gridBagConstraints = new java.awt.GridBagConstraints();
Lines 173-181 Link Here
173
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
186
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
174
        gridBagConstraints.weightx = 1.0;
187
        gridBagConstraints.weightx = 1.0;
175
        gridBagConstraints.insets = new java.awt.Insets(6, 6, 0, 0);
188
        gridBagConstraints.insets = new java.awt.Insets(6, 6, 0, 0);
176
        add(titleTextField, gridBagConstraints);
189
        mainPanel.add(titleTextField, gridBagConstraints);
177
        titleTextField.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Title_TextField")); // NOI18N
178
        titleTextField.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Title_TextField")); // NOI18N
179
190
180
        vendorTextField.setText(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.vendorTextField.text")); // NOI18N
191
        vendorTextField.setText(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.vendorTextField.text")); // NOI18N
181
        gridBagConstraints = new java.awt.GridBagConstraints();
192
        gridBagConstraints = new java.awt.GridBagConstraints();
Lines 185-193 Link Here
185
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
196
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
186
        gridBagConstraints.weightx = 1.0;
197
        gridBagConstraints.weightx = 1.0;
187
        gridBagConstraints.insets = new java.awt.Insets(5, 6, 0, 0);
198
        gridBagConstraints.insets = new java.awt.Insets(5, 6, 0, 0);
188
        add(vendorTextField, gridBagConstraints);
199
        mainPanel.add(vendorTextField, gridBagConstraints);
189
        vendorTextField.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Vendor_TextField")); // NOI18N
190
        vendorTextField.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Vendor_TextField")); // NOI18N
191
200
192
        homepageTextField.setText(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.homepageTextField.text")); // NOI18N
201
        homepageTextField.setText(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.homepageTextField.text")); // NOI18N
193
        gridBagConstraints = new java.awt.GridBagConstraints();
202
        gridBagConstraints = new java.awt.GridBagConstraints();
Lines 197-219 Link Here
197
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
206
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
198
        gridBagConstraints.weightx = 1.0;
207
        gridBagConstraints.weightx = 1.0;
199
        gridBagConstraints.insets = new java.awt.Insets(5, 6, 0, 0);
208
        gridBagConstraints.insets = new java.awt.Insets(5, 6, 0, 0);
200
        add(homepageTextField, gridBagConstraints);
209
        mainPanel.add(homepageTextField, gridBagConstraints);
201
        homepageTextField.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Homepage_TextField")); // NOI18N
202
        homepageTextField.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Homepage_TextField")); // NOI18N
203
210
204
        splashTextField.setText(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.splashTextField.text")); // NOI18N
211
        splashTextField.setText(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.splashTextField.text")); // NOI18N
205
        gridBagConstraints = new java.awt.GridBagConstraints();
212
        gridBagConstraints = new java.awt.GridBagConstraints();
206
        gridBagConstraints.gridx = 1;
213
        gridBagConstraints.gridx = 1;
207
        gridBagConstraints.gridy = 5;
214
        gridBagConstraints.gridy = 5;
208
        gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
209
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
215
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
210
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
216
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
211
        gridBagConstraints.weightx = 1.0;
217
        gridBagConstraints.weightx = 1.0;
212
        gridBagConstraints.weighty = 1.0;
213
        gridBagConstraints.insets = new java.awt.Insets(5, 6, 0, 0);
218
        gridBagConstraints.insets = new java.awt.Insets(5, 6, 0, 0);
214
        add(splashTextField, gridBagConstraints);
219
        mainPanel.add(splashTextField, gridBagConstraints);
215
        splashTextField.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_SplashScreen_TextField")); // NOI18N
216
        splashTextField.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_SplashScreen_TextField")); // NOI18N
217
220
218
        org.openide.awt.Mnemonics.setLocalizedText(browseButton, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.browseButton.text")); // NOI18N
221
        org.openide.awt.Mnemonics.setLocalizedText(browseButton, org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "CustomizerApplication.browseButton.text")); // NOI18N
219
        browseButton.addActionListener(new java.awt.event.ActionListener() {
222
        browseButton.addActionListener(new java.awt.event.ActionListener() {
Lines 225-243 Link Here
225
        gridBagConstraints.gridx = 2;
228
        gridBagConstraints.gridx = 2;
226
        gridBagConstraints.gridy = 5;
229
        gridBagConstraints.gridy = 5;
227
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
230
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
228
        gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
229
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
231
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
230
        gridBagConstraints.weighty = 1.0;
231
        gridBagConstraints.insets = new java.awt.Insets(3, 6, 0, 0);
232
        gridBagConstraints.insets = new java.awt.Insets(3, 6, 0, 0);
232
        add(browseButton, gridBagConstraints);
233
        mainPanel.add(browseButton, gridBagConstraints);
233
        browseButton.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Browse_Button")); // NOI18N
234
        browseButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Browse_Button")); // NOI18N
235
234
236
        descTextArea.setColumns(8);
235
        descTextArea1.setColumns(8);
237
        descTextArea.setRows(4);
236
        descTextArea1.setRows(4);
238
        jScrollPane1.setViewportView(descTextArea);
237
        jScrollPane.setViewportView(descTextArea1);
239
        descTextArea.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSN_Description_TextArea")); // NOI18N
240
        descTextArea.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerApplication.class, "ACSD_Description_TextArea")); // NOI18N
241
238
242
        gridBagConstraints = new java.awt.GridBagConstraints();
239
        gridBagConstraints = new java.awt.GridBagConstraints();
243
        gridBagConstraints.gridx = 1;
240
        gridBagConstraints.gridx = 1;
Lines 246-271 Link Here
246
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
243
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
247
        gridBagConstraints.weightx = 1.0;
244
        gridBagConstraints.weightx = 1.0;
248
        gridBagConstraints.insets = new java.awt.Insets(6, 6, 0, 0);
245
        gridBagConstraints.insets = new java.awt.Insets(6, 6, 0, 0);
249
        add(jScrollPane1, gridBagConstraints);
246
        mainPanel.add(jScrollPane, gridBagConstraints);
247
248
        gridBagConstraints = new java.awt.GridBagConstraints();
249
        gridBagConstraints.gridx = 0;
250
        gridBagConstraints.gridy = 0;
251
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
252
        gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
253
        add(mainPanel, gridBagConstraints);
254
255
        extPanel.setLayout(new java.awt.GridBagLayout());
256
        gridBagConstraints = new java.awt.GridBagConstraints();
257
        gridBagConstraints.gridx = 0;
258
        gridBagConstraints.gridy = 1;
259
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
260
        gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
261
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
262
        gridBagConstraints.weightx = 0.1;
263
        gridBagConstraints.weighty = 0.1;
264
        add(extPanel, gridBagConstraints);
250
    }// </editor-fold>//GEN-END:initComponents
265
    }// </editor-fold>//GEN-END:initComponents
251
266
252
    private void browseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_browseButtonActionPerformed
267
    private void browseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_browseButtonActionPerformed
253
        JFileChooser chooser = new JFileChooser();
268
        // TODO add your handling code here:
254
        FileUtil.preventFileChooserSymlinkTraversal(chooser, null);
255
        chooser.setFileSelectionMode (JFileChooser.FILES_ONLY);
256
        chooser.setMultiSelectionEnabled(false);
257
        chooser.setFileFilter(new SplashFileFilter());
258
        if (lastImageFolder != null) {
259
            chooser.setSelectedFile(lastImageFolder);
260
        } else {
261
            // ???
262
        }
263
        chooser.setDialogTitle(NbBundle.getMessage(CustomizerApplication.class, "LBL_Select_Splash_Image"));
264
        if (JFileChooser.APPROVE_OPTION == chooser.showOpenDialog(this)) {
265
            File file = FileUtil.normalizeFile(chooser.getSelectedFile());
266
            splashTextField.setText(file.getAbsolutePath());
267
            lastImageFolder = file.getParentFile();
268
        }
269
    }//GEN-LAST:event_browseButtonActionPerformed
269
    }//GEN-LAST:event_browseButtonActionPerformed
270
    
270
    
271
    private static class SplashFileFilter extends FileFilter {
271
    private static class SplashFileFilter extends FileFilter {
Lines 295-304 Link Here
295
    // Variables declaration - do not modify//GEN-BEGIN:variables
295
    // Variables declaration - do not modify//GEN-BEGIN:variables
296
    private javax.swing.JButton browseButton;
296
    private javax.swing.JButton browseButton;
297
    private javax.swing.JLabel descLabel;
297
    private javax.swing.JLabel descLabel;
298
    private javax.swing.JTextArea descTextArea;
298
    private javax.swing.JTextArea descTextArea1;
299
    private javax.swing.JPanel extPanel;
299
    private javax.swing.JLabel homepageLabel;
300
    private javax.swing.JLabel homepageLabel;
300
    private javax.swing.JTextField homepageTextField;
301
    private javax.swing.JTextField homepageTextField;
301
    private javax.swing.JScrollPane jScrollPane1;
302
    private javax.swing.JScrollPane jScrollPane;
303
    private javax.swing.JPanel mainPanel;
302
    private javax.swing.JLabel panelDescLabel;
304
    private javax.swing.JLabel panelDescLabel;
303
    private javax.swing.JLabel splashLabel;
305
    private javax.swing.JLabel splashLabel;
304
    private javax.swing.JTextField splashTextField;
306
    private javax.swing.JTextField splashTextField;
Lines 312-315 Link Here
312
        return new HelpCtx(CustomizerApplication.class);
314
        return new HelpCtx(CustomizerApplication.class);
313
    }
315
    }
314
    
316
    
317
    private boolean addExtPanel(Project p, J2SECategoryExtensionProvider compProvider, int gridY) {
318
        if (compProvider != null) {
319
            J2SECategoryExtensionProvider.ConfigChangeListener ccl = new J2SECategoryExtensionProvider.ConfigChangeListener() {
320
                public void propertiesChanged(Map<String, String> updates) {
321
                }
322
            };
323
            JComponent comp = compProvider.createComponent(p, ccl);
324
            if (comp != null) {
325
                java.awt.GridBagConstraints constraints = new java.awt.GridBagConstraints();
326
                constraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
327
                constraints.gridx = 0;
328
                constraints.gridy = gridY;
329
                constraints.weightx = 1.0;
330
                extPanel.add(comp, constraints);
331
                return true;
332
            }
333
        }
334
        return false;
335
    }
336
337
    private void addPanelFiller(int gridY) {
338
        java.awt.GridBagConstraints constraints = new java.awt.GridBagConstraints();
339
        constraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
340
        constraints.gridx = 0;
341
        constraints.gridy = gridY;
342
        constraints.weightx = 1.0;
343
        constraints.weighty = 1.0;
344
        extPanel.add( new Box.Filler(
345
                new Dimension(), 
346
                new Dimension(),
347
                new Dimension(10000,10000) ),
348
                constraints);
349
    }
350
315
}
351
}
(-)a/java.j2seproject/test/unit/src/org/netbeans/modules/java/j2seproject/api/J2SECategoryExtensionProviderTest.java (-2 / +36 lines)
Lines 66-72 Link Here
66
66
67
    @BeforeClass
67
    @BeforeClass
68
    public static void setUpClass() throws Exception {
68
    public static void setUpClass() throws Exception {
69
        MockServices.setServices(J2SEMockRunProvider1.class, J2SEMockPackagingProvider.class, J2SEMockRunProvider2.class);
69
        MockServices.setServices(J2SEMockRunProvider1.class, J2SEMockPackagingProvider.class, J2SEMockRunProvider2.class, J2SEMockApplicationProvider.class);
70
    }
70
    }
71
71
72
    private Map<String, String> properties = new TreeMap<String, String>();
72
    private Map<String, String> properties = new TreeMap<String, String>();
Lines 77-83 Link Here
77
    @Test
77
    @Test
78
    public void testCustomizerExtension() {
78
    public void testCustomizerExtension() {
79
        System.out.println("testCustomizerExtension():");
79
        System.out.println("testCustomizerExtension():");
80
        assertEquals(Lookup.getDefault().lookupAll(J2SECategoryExtensionProvider.class).size(), 3);
80
        assertEquals(Lookup.getDefault().lookupAll(J2SECategoryExtensionProvider.class).size(), 4);
81
81
82
        java.util.List<J2SECategoryExtensionProvider> compProviders = new LinkedList<J2SECategoryExtensionProvider>();
82
        java.util.List<J2SECategoryExtensionProvider> compProviders = new LinkedList<J2SECategoryExtensionProvider>();
83
        JPanel pane = new JPanel();
83
        JPanel pane = new JPanel();
Lines 103-108 Link Here
103
        assertNull(properties.get("MockupRunExtender1"));
103
        assertNull(properties.get("MockupRunExtender1"));
104
        assertNull(properties.get("MockupRunExtender2"));
104
        assertNull(properties.get("MockupRunExtender2"));
105
        assertNull(properties.get("MockupPackagingExtender"));
105
        assertNull(properties.get("MockupPackagingExtender"));
106
        assertNull(properties.get("MockupApplicationExtender"));
106
        System.out.println("OK");
107
        System.out.println("OK");
107
        
108
        
108
        System.out.println("simulate event generated by user using the extension component");
109
        System.out.println("simulate event generated by user using the extension component");
Lines 113-118 Link Here
113
        assertEquals(properties.get("MockupRunExtender1"), "true");
114
        assertEquals(properties.get("MockupRunExtender1"), "true");
114
        assertNull(properties.get("MockupRunExtender2"));
115
        assertNull(properties.get("MockupRunExtender2"));
115
        assertNull(properties.get("MockupPackagingExtender"));
116
        assertNull(properties.get("MockupPackagingExtender"));
117
        assertNull(properties.get("MockupApplicationExtender"));
116
        System.out.println("OK");
118
        System.out.println("OK");
117
        
119
        
118
        System.out.println("simulate event from outside the extension component");
120
        System.out.println("simulate event from outside the extension component");
Lines 245-250 Link Here
245
        }
247
        }
246
    }
248
    }
247
249
250
    public static final class J2SEMockApplicationProvider implements J2SECategoryExtensionProvider {
251
252
        MockupComponent extender;
253
254
        @Override
255
        public ExtensibleCategory getCategory() {
256
            return ExtensibleCategory.APPLICATION;
257
        }
258
259
        @Override
260
        public JComponent createComponent(Project proj, ConfigChangeListener listener) {
261
            extender = new MockupComponent("MockupApplicationExtender");
262
            extender.setState(false);
263
            extender.addListener(listener);
264
            return extender;
265
        }
266
267
        @Override
268
        public void configUpdated(Map<String, String> props) {
269
            String value = props.get("MockupApplicationExtender");
270
            if(value != null) {
271
                if( "true".equals(value)) {
272
                    extender.setState(true);
273
                } else {
274
                    if( "false".equals(value)) {
275
                        extender.setState(false);
276
                    }
277
                }
278
            }
279
        }
280
    }
281
248
    public static final class MockupComponent extends JComponent implements ActionListener {
282
    public static final class MockupComponent extends JComponent implements ActionListener {
249
283
250
        public boolean state;
284
        public boolean state;
(-)a/javafx2.project/src/org/netbeans/modules/javafx2/project/JFXProjectProperties.java (-2 / +34 lines)
Lines 87-92 Link Here
87
import org.netbeans.modules.java.api.common.project.ProjectProperties;
87
import org.netbeans.modules.java.api.common.project.ProjectProperties;
88
import org.netbeans.modules.java.j2seproject.api.J2SEPropertyEvaluator;
88
import org.netbeans.modules.java.j2seproject.api.J2SEPropertyEvaluator;
89
import org.netbeans.modules.javafx2.platform.api.JavaFXPlatformUtils;
89
import org.netbeans.modules.javafx2.platform.api.JavaFXPlatformUtils;
90
import org.netbeans.modules.javafx2.project.ui.JFXApplicationPanel;
90
import org.netbeans.modules.javafx2.project.ui.JFXPackagingPanel;
91
import org.netbeans.modules.javafx2.project.ui.JFXPackagingPanel;
91
import org.netbeans.spi.project.support.ant.AntProjectHelper;
92
import org.netbeans.spi.project.support.ant.AntProjectHelper;
92
import org.netbeans.spi.project.support.ant.EditableProperties;
93
import org.netbeans.spi.project.support.ant.EditableProperties;
Lines 206-212 Link Here
206
    
207
    
207
    // Deployment - callbacks
208
    // Deployment - callbacks
208
    public static final String JAVASCRIPT_CALLBACK_PREFIX = "javafx.jscallback."; // NOI18N
209
    public static final String JAVASCRIPT_CALLBACK_PREFIX = "javafx.jscallback."; // NOI18N
209
210
    
211
    // Application
212
    public static final String IMPLEMENTATION_VERSION = "javafx.application.implementation.version"; // NOI18N
213
    public static final String IMPLEMENTATION_VERSION_DEFAULT = "1.0"; // NOI18N
214
    
210
    // folders and files
215
    // folders and files
211
    public static final String PROJECT_CONFIGS_DIR = JFXProjectConfigurations.PROJECT_CONFIGS_DIR;
216
    public static final String PROJECT_CONFIGS_DIR = JFXProjectConfigurations.PROJECT_CONFIGS_DIR;
212
    public static final String PROJECT_PRIVATE_CONFIGS_DIR = JFXProjectConfigurations.PROJECT_PRIVATE_CONFIGS_DIR;
217
    public static final String PROJECT_PRIVATE_CONFIGS_DIR = JFXProjectConfigurations.PROJECT_PRIVATE_CONFIGS_DIR;
Lines 233-238 Link Here
233
        return packagingPanel;
238
        return packagingPanel;
234
    }
239
    }
235
240
241
    private JFXApplicationPanel applicationPanel = null;
242
    public JFXApplicationPanel getApplicationPanel() {
243
        if(applicationPanel == null) {
244
            applicationPanel = new JFXApplicationPanel(this);
245
        }
246
        return applicationPanel;
247
    }
248
236
    // CustomizerRun
249
    // CustomizerRun
237
    private JFXConfigs CONFIGS = null;
250
    private JFXConfigs CONFIGS = null;
238
    public JFXConfigs getConfigs() {
251
    public JFXConfigs getConfigs() {
Lines 473-478 Link Here
473
    public void setJSCallbacksChanged(boolean changed) {
486
    public void setJSCallbacksChanged(boolean changed) {
474
        jsCallbacksChanged = changed;
487
        jsCallbacksChanged = changed;
475
    }
488
    }
489
    
490
    // Application
491
    String implVersion;
492
    public String getImplementationVersion() {
493
        return implVersion;
494
    }
495
    public void setImplementationVersion(String implVer) {
496
        implVersion = implVer;
497
    }
476
        
498
        
477
    // Project related references
499
    // Project related references
478
    private J2SEPropertyEvaluator j2sePropEval;
500
    private J2SEPropertyEvaluator j2sePropEval;
Lines 610-616 Link Here
610
            installPermanently = fxPropGroup.createToggleButtonModel(evaluator, INSTALL_PERMANENTLY);
632
            installPermanently = fxPropGroup.createToggleButtonModel(evaluator, INSTALL_PERMANENTLY);
611
            addDesktopShortcut = fxPropGroup.createToggleButtonModel(evaluator, ADD_DESKTOP_SHORTCUT);
633
            addDesktopShortcut = fxPropGroup.createToggleButtonModel(evaluator, ADD_DESKTOP_SHORTCUT);
612
            addStartMenuShortcut = fxPropGroup.createToggleButtonModel(evaluator, ADD_STARTMENU_SHORTCUT);
634
            addStartMenuShortcut = fxPropGroup.createToggleButtonModel(evaluator, ADD_STARTMENU_SHORTCUT);
613
            
635
614
            // CustomizerRun
636
            // CustomizerRun
615
            CONFIGS = new JFXConfigs();
637
            CONFIGS = new JFXConfigs();
616
            CONFIGS.read();
638
            CONFIGS.read();
Lines 618-623 Link Here
618
            CONFIGS.setActive(evaluator.getProperty(ProjectProperties.PROP_PROJECT_CONFIGURATION_CONFIG));
640
            CONFIGS.setActive(evaluator.getProperty(ProjectProperties.PROP_PROJECT_CONFIGURATION_CONFIG));
619
            preloaderClassModel = new PreloaderClassComboBoxModel();
641
            preloaderClassModel = new PreloaderClassComboBoxModel();
620
642
643
            initVersion(evaluator);
621
            initIcons(evaluator);
644
            initIcons(evaluator);
622
            initSigning(evaluator);
645
            initSigning(evaluator);
623
            initNativeBundling(evaluator);
646
            initNativeBundling(evaluator);
Lines 1139-1144 Link Here
1139
    }
1162
    }
1140
1163
1141
    private void storeRest(@NonNull EditableProperties editableProps, @NonNull EditableProperties privProps) {
1164
    private void storeRest(@NonNull EditableProperties editableProps, @NonNull EditableProperties privProps) {
1165
        // store implementation version
1166
        setOrRemove(editableProps, IMPLEMENTATION_VERSION, implVersion);
1142
        // store signing info
1167
        // store signing info
1143
        editableProps.setProperty(JAVAFX_SIGNING_ENABLED, signingEnabled ? "true" : "false"); //NOI18N
1168
        editableProps.setProperty(JAVAFX_SIGNING_ENABLED, signingEnabled ? "true" : "false"); //NOI18N
1144
        editableProps.setProperty(JAVAFX_SIGNING_TYPE, signingType.getString());
1169
        editableProps.setProperty(JAVAFX_SIGNING_TYPE, signingType.getString());
Lines 1258-1263 Link Here
1258
        }
1283
        }
1259
    }
1284
    }
1260
1285
1286
    private void initVersion(PropertyEvaluator eval) {
1287
        implVersion = eval.getProperty(IMPLEMENTATION_VERSION);
1288
        if(implVersion == null) {
1289
            implVersion = IMPLEMENTATION_VERSION_DEFAULT;
1290
        }
1291
    }
1292
    
1261
    private void initIcons(PropertyEvaluator eval) {
1293
    private void initIcons(PropertyEvaluator eval) {
1262
        wsIconPath = eval.getProperty(ICON_FILE);
1294
        wsIconPath = eval.getProperty(ICON_FILE);
1263
        splashImagePath = eval.getProperty(SPLASH_IMAGE_FILE);
1295
        splashImagePath = eval.getProperty(SPLASH_IMAGE_FILE);
(-)a/javafx2.project/src/org/netbeans/modules/javafx2/project/templates/jfx-impl.xml_ (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.project/src/org/netbeans/modules/javafx2/project/ui/Bundle.properties (+2 lines)
Lines 315-317 Link Here
315
AD_JFXApplicationParametersPanel.buttonDefault.text=N/A
315
AD_JFXApplicationParametersPanel.buttonDefault.text=N/A
316
JFXApplicationMultiPropertyPanel.labelRemark.text=(For unnamed parameter leave Value empty)
316
JFXApplicationMultiPropertyPanel.labelRemark.text=(For unnamed parameter leave Value empty)
317
JFXApplicationMultiPropertyPanel.buttonDefault.text=&Default
317
JFXApplicationMultiPropertyPanel.buttonDefault.text=&Default
318
JFXApplicationPanel.labelVer.text=Implementation Version:
319
JFXApplicationPanel.textFieldVer.text=n/a
(-)2c21fe2d19b2 (+81 lines)
Added Link Here
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 2013 Oracle and/or its affiliates. All rights reserved.
5
 *
6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7
 * Other names may be trademarks of their respective owners.
8
 *
9
 * The contents of this file are subject to the terms of either the GNU
10
 * General Public License Version 2 only ("GPL") or the Common
11
 * Development and Distribution License("CDDL") (collectively, the
12
 * "License"). You may not use this file except in compliance with the
13
 * License. You can obtain a copy of the License at
14
 * http://www.netbeans.org/cddl-gplv2.html
15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16
 * specific language governing permissions and limitations under the
17
 * License.  When distributing the software, include this License Header
18
 * Notice in each file and include the License file at
19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
20
 * particular file as subject to the "Classpath" exception as provided
21
 * by Oracle in the GPL Version 2 section of the License file that
22
 * accompanied this code. If applicable, add the following below the
23
 * License Header, with the fields enclosed by brackets [] replaced by
24
 * your own identifying information:
25
 * "Portions Copyrighted [year] [name of copyright owner]"
26
 *
27
 * If you wish your version of this file to be governed by only the CDDL
28
 * or only the GPL Version 2, indicate your decision by adding
29
 * "[Contributor] elects to include this software in this distribution
30
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
31
 * single choice of license, a recipient has the option to distribute
32
 * your version of this file under either the CDDL, the GPL Version 2 or
33
 * to extend the choice of license to its licensees as provided above.
34
 * However, if you add GPL Version 2 code and therefore, elected the GPL
35
 * Version 2 license, then the option applies only if the new code is
36
 * made subject to such option by the copyright holder.
37
 *
38
 * Contributor(s):
39
 *
40
 * Portions Copyrighted 2013 Sun Microsystems, Inc.
41
 */
42
package org.netbeans.modules.javafx2.project.ui;
43
44
import java.util.Map;
45
import javax.swing.JComponent;
46
import org.netbeans.api.project.Project;
47
import org.netbeans.modules.java.j2seproject.api.J2SECategoryExtensionProvider;
48
import org.netbeans.modules.java.j2seproject.api.J2SEPropertyEvaluator;
49
import org.netbeans.modules.javafx2.project.JFXProjectProperties;
50
import org.netbeans.spi.project.ProjectServiceProvider;
51
52
/**
53
 *
54
 * @author psomol
55
 */
56
@ProjectServiceProvider(service=J2SECategoryExtensionProvider.class, projectType="org-netbeans-modules-java-j2seproject")
57
public class JFXApplicationCategoryProvider implements J2SECategoryExtensionProvider {
58
59
    public JFXApplicationCategoryProvider() {}
60
    
61
    @Override
62
    public ExtensibleCategory getCategory() {
63
        return ExtensibleCategory.APPLICATION;
64
    }
65
66
    @Override
67
    public JComponent createComponent(Project p, ConfigChangeListener listener) {
68
        boolean fxDisabled = false;
69
        if (p != null) {
70
            final J2SEPropertyEvaluator j2sepe = p.getLookup().lookup(J2SEPropertyEvaluator.class);
71
            fxDisabled = !JFXProjectProperties.isTrue(j2sepe.evaluator().getProperty(JFXProjectProperties.JAVAFX_ENABLED))
72
                    || JFXProjectProperties.isTrue(j2sepe.evaluator().getProperty(JFXProjectProperties.JAVAFX_SWING));
73
        }
74
        return fxDisabled ? null : JFXProjectProperties.getInstance(p.getLookup()).getApplicationPanel();
75
    }
76
77
    @Override
78
    public void configUpdated(Map<String, String> props) {
79
    }
80
    
81
}
(-)2c21fe2d19b2 (+47 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8" ?>
2
3
<Form version="1.5" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <AuxValues>
5
    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
6
    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
7
    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
8
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
9
    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
10
    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
11
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
12
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
13
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
14
    <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,2,96"/>
15
  </AuxValues>
16
17
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
18
  <SubComponents>
19
    <Component class="javax.swing.JLabel" name="labelVer">
20
      <Properties>
21
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
22
          <ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXApplicationPanel.labelVer.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
23
        </Property>
24
      </Properties>
25
      <Constraints>
26
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
27
          <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="14" insetsLeft="1" insetsBottom="10" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
28
        </Constraint>
29
      </Constraints>
30
    </Component>
31
    <Component class="javax.swing.JTextField" name="textFieldVer">
32
      <Properties>
33
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
34
          <ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXApplicationPanel.textFieldVer.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
35
        </Property>
36
      </Properties>
37
      <Events>
38
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="textFieldVerActionPerformed"/>
39
      </Events>
40
      <Constraints>
41
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
42
          <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="180" ipadY="0" insetsTop="0" insetsLeft="7" insetsBottom="0" insetsRight="5" anchor="512" weightX="0.0" weightY="0.0"/>
43
        </Constraint>
44
      </Constraints>
45
    </Component>
46
  </SubComponents>
47
</Form>
(-)2c21fe2d19b2 (+129 lines)
Added Link Here
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 2013 Oracle and/or its affiliates. All rights reserved.
5
 *
6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7
 * Other names may be trademarks of their respective owners.
8
 *
9
 * The contents of this file are subject to the terms of either the GNU
10
 * General Public License Version 2 only ("GPL") or the Common
11
 * Development and Distribution License("CDDL") (collectively, the
12
 * "License"). You may not use this file except in compliance with the
13
 * License. You can obtain a copy of the License at
14
 * http://www.netbeans.org/cddl-gplv2.html
15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16
 * specific language governing permissions and limitations under the
17
 * License.  When distributing the software, include this License Header
18
 * Notice in each file and include the License file at
19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
20
 * particular file as subject to the "Classpath" exception as provided
21
 * by Oracle in the GPL Version 2 section of the License file that
22
 * accompanied this code. If applicable, add the following below the
23
 * License Header, with the fields enclosed by brackets [] replaced by
24
 * your own identifying information:
25
 * "Portions Copyrighted [year] [name of copyright owner]"
26
 *
27
 * If you wish your version of this file to be governed by only the CDDL
28
 * or only the GPL Version 2, indicate your decision by adding
29
 * "[Contributor] elects to include this software in this distribution
30
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
31
 * single choice of license, a recipient has the option to distribute
32
 * your version of this file under either the CDDL, the GPL Version 2 or
33
 * to extend the choice of license to its licensees as provided above.
34
 * However, if you add GPL Version 2 code and therefore, elected the GPL
35
 * Version 2 license, then the option applies only if the new code is
36
 * made subject to such option by the copyright holder.
37
 *
38
 * Contributor(s):
39
 *
40
 * Portions Copyrighted 2013 Sun Microsystems, Inc.
41
 */
42
package org.netbeans.modules.javafx2.project.ui;
43
44
import javax.swing.event.DocumentEvent;
45
import javax.swing.event.DocumentListener;
46
import org.netbeans.modules.javafx2.project.JFXProjectProperties;
47
48
/**
49
 *
50
 * @author psomol
51
 */
52
public class JFXApplicationPanel extends javax.swing.JPanel {
53
54
    private static JFXProjectProperties jfxProps = null;
55
56
    /**
57
     * Creates new form JFXApplicationPanel
58
     */
59
    public JFXApplicationPanel(JFXProjectProperties properties) {
60
        initComponents();
61
        jfxProps = properties;
62
        textFieldVer.getDocument().addDocumentListener(new DocumentListener() {
63
            @Override
64
            public void insertUpdate(DocumentEvent e) {
65
                changed();
66
            }
67
            @Override
68
            public void removeUpdate(DocumentEvent e) {
69
                changed();
70
            }
71
            @Override
72
            public void changedUpdate(DocumentEvent e) {}
73
            void changed() {
74
                String v = textFieldVer.getText();
75
                jfxProps.setImplementationVersion(v);
76
            }
77
        });
78
        String ver = jfxProps.getImplementationVersion();
79
        textFieldVer.setText(ver);
80
    }
81
82
    /**
83
     * This method is called from within the constructor to initialize the form.
84
     * WARNING: Do NOT modify this code. The content of this method is always
85
     * regenerated by the Form Editor.
86
     */
87
    @SuppressWarnings("unchecked")
88
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
89
    private void initComponents() {
90
        java.awt.GridBagConstraints gridBagConstraints;
91
92
        labelVer = new javax.swing.JLabel();
93
        textFieldVer = new javax.swing.JTextField();
94
95
        setLayout(new java.awt.GridBagLayout());
96
97
        org.openide.awt.Mnemonics.setLocalizedText(labelVer, org.openide.util.NbBundle.getMessage(JFXApplicationPanel.class, "JFXApplicationPanel.labelVer.text")); // NOI18N
98
        gridBagConstraints = new java.awt.GridBagConstraints();
99
        gridBagConstraints.gridx = 0;
100
        gridBagConstraints.gridy = 0;
101
        gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
102
        gridBagConstraints.insets = new java.awt.Insets(14, 1, 10, 0);
103
        add(labelVer, gridBagConstraints);
104
105
        textFieldVer.setText(org.openide.util.NbBundle.getMessage(JFXApplicationPanel.class, "JFXApplicationPanel.textFieldVer.text")); // NOI18N
106
        textFieldVer.addActionListener(new java.awt.event.ActionListener() {
107
            public void actionPerformed(java.awt.event.ActionEvent evt) {
108
                textFieldVerActionPerformed(evt);
109
            }
110
        });
111
        gridBagConstraints = new java.awt.GridBagConstraints();
112
        gridBagConstraints.gridx = 1;
113
        gridBagConstraints.gridy = 0;
114
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
115
        gridBagConstraints.ipadx = 180;
116
        gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
117
        gridBagConstraints.insets = new java.awt.Insets(0, 7, 0, 5);
118
        add(textFieldVer, gridBagConstraints);
119
    }// </editor-fold>//GEN-END:initComponents
120
121
    private void textFieldVerActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_textFieldVerActionPerformed
122
        // TODO add your handling code here:
123
    }//GEN-LAST:event_textFieldVerActionPerformed
124
125
    // Variables declaration - do not modify//GEN-BEGIN:variables
126
    private javax.swing.JLabel labelVer;
127
    private javax.swing.JTextField textFieldVer;
128
    // End of variables declaration//GEN-END:variables
129
}
(-)a/javafx2.samples/AdvancedMedia/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/AudioVisualizer3D/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/BrickBreaker/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChangeListener/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartAdvancedArea/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartAdvancedBar/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartAdvancedPie/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartAdvancedScatter/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartAdvancedScatterLive/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartAdvancedStockLine/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartAudioArea/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartAudioBar/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ChartLine/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ColorPicker/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/ColorfulCircles/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/CreateAdvancedStage/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/Cube3D/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/CubeSystem3D/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/DigitalClock/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/DisplayShelf/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/FXML-LoginDemo/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/Fireworks/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/HTMLEditorApp/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/KeyStrokeMotion/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/MouseEvents/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/PaginationDemo/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/PuzzlePieces/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/StopWatch/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/SwingInterop/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/TimelineEvents/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/TimelineInterpolator/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/TransitionPath/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/TransitionRotate/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/WebViewBrowser/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();
(-)a/javafx2.samples/Xylophone/nbproject/jfx-impl.xml (-1 / +6 lines)
Lines 1753-1761 Link Here
1753
                    a2.setName("Implementation-Title");
1753
                    a2.setName("Implementation-Title");
1754
                    a2.setValue(a2val);
1754
                    a2.setValue(a2val);
1755
                    man.addConfiguredAttribute(a2);
1755
                    man.addConfiguredAttribute(a2);
1756
                    var a3val = project.getProperty("javafx.application.implementation.version");
1756
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    var a3 = new org.apache.tools.ant.taskdefs.Manifest.Attribute();
1757
                    a3.setName("Implementation-Version");
1758
                    a3.setName("Implementation-Version");
1758
                    a3.setValue("1.0");
1759
                    if(a3val != null) {
1760
                        a3.setValue(a3val);
1761
                    } else {
1762
                        a3.setValue("1.0");
1763
                    }
1759
                    man.addConfiguredAttribute(a3);
1764
                    man.addConfiguredAttribute(a3);
1760
                    // custom manifest entries
1765
                    // custom manifest entries
1761
                    var searchManifestHides = project.getProperties().keys();
1766
                    var searchManifestHides = project.getProperties().keys();

Return to bug 218422