This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new fae5eb9 [NETBEANS-3873] Fix project from maven archetype wizard new aad17fd Merge pull request #1950 from AlexFalappa/fix-mvn-archetype-wizard fae5eb9 is described below commit fae5eb933b86ffb619d7075e4e6fbf24d2490871 Author: Alessandro Falappa <alex.fala...@gmail.com> AuthorDate: Sat Feb 15 19:41:25 2020 +0100 [NETBEANS-3873] Fix project from maven archetype wizard This fixes the description text area in the second step of the "Project from Maven Archetype" wizard. The hardcoded color remains as a fallback but should be rarely used now. --- .../org/netbeans/modules/maven/newproject/ChooseArchetypePanel.form | 2 +- .../org/netbeans/modules/maven/newproject/ChooseArchetypePanel.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.form b/java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.form index e199c4b..1a13a7b 100644 --- a/java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.form +++ b/java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.form @@ -230,7 +230,7 @@ <Properties> <Property name="editable" type="boolean" value="false"/> <Property name="background" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> - <Connection code="(java.awt.Color)(UIManager.get("textArea.background")!=null?
 UIManager.get("textArea.background"):new java.awt.Color(238, 238, 238))" type="code"/> + <Connection code="(java.awt.Color)(UIManager.get("TextArea.background")!=null?
 UIManager.get("TextArea.background"):new java.awt.Color(238, 238, 238))" type="code"/> </Property> <Property name="columns" type="int" value="20"/> <Property name="lineWrap" type="boolean" value="true"/> diff --git a/java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.java b/java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.java index 3c6bb9f..8c8181e 100644 --- a/java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.java +++ b/java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.java @@ -245,8 +245,8 @@ public class ChooseArchetypePanel extends JPanel { org.openide.awt.Mnemonics.setLocalizedText(labelDesc, org.openide.util.NbBundle.getMessage(ChooseArchetypePanel.class, "LBL_Description")); // NOI18N taDescription.setEditable(false); - taDescription.setBackground((java.awt.Color)(UIManager.get("textArea.background")!=null? - UIManager.get("textArea.background"):new java.awt.Color(238, 238, 238))); + taDescription.setBackground((java.awt.Color)(UIManager.get("TextArea.background")!=null? + UIManager.get("TextArea.background"):new java.awt.Color(238, 238, 238))); taDescription.setColumns(20); taDescription.setLineWrap(true); taDescription.setRows(5); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists