svn commit: r15751 - trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelAttribute.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-09-20 09:13:40-0700
New Revision: 15751

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelAttribute.java

Log:
Revert last change for now until release is out

Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelAttribute.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelAttribute.java?view=diff&rev=15751&p1=trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelAttribute.java&p2=trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelAttribute.java&r1=15750&r2=15751
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelAttribute.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelAttribute.java	2008-09-20 09:13:40-0700
@@ -28,7 +28,6 @@
 
 import javax.swing.JPanel;
 import javax.swing.JScrollPane;
-import javax.swing.ScrollPaneConstants;
 
 import org.argouml.i18n.Translator;
 import org.argouml.model.Model;
@@ -88,11 +87,8 @@
                 this, "initialValue");
         JPanel initialPanel = createBorderPanel(Translator
                 .localize("label.initial-value"));
-        JScrollPane jsp = new JScrollPane(new UMLExpressionBodyField(
-                initialModel, true));
-        jsp.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
-        jsp.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
-        initialPanel.add(jsp);
+        initialPanel.add(new JScrollPane(new UMLExpressionBodyField(
+                initialModel, true)));
         initialPanel.add(new UMLExpressionLanguageField(initialModel,
                 false));
         add(initialPanel);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.