svn commit: r13844 - trunk/src_new/org/argouml/uml/ui/TabStereotype.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: penyaskito
Date: 2007-11-26 08:34:40-0800
New Revision: 13844

Modified:
   trunk/src_new/org/argouml/uml/ui/TabStereotype.java

Log:
Changed call to deprecated constructor.

Modified: trunk/src_new/org/argouml/uml/ui/TabStereotype.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/TabStereotype.java?view=diff&rev=13844&p1=trunk/src_new/org/argouml/uml/ui/TabStereotype.java&p2=trunk/src_new/org/argouml/uml/ui/TabStereotype.java&r1=13843&r2=13844
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/TabStereotype.java	(original)
+++ trunk/src_new/org/argouml/uml/ui/TabStereotype.java	2007-11-26 08:34:40-0800
@@ -34,6 +34,7 @@
 import javax.swing.BorderFactory;
 import javax.swing.Box;
 import javax.swing.BoxLayout;
+import javax.swing.ImageIcon;
 import javax.swing.JButton;
 import javax.swing.JLabel;
 import javax.swing.JList;
@@ -87,7 +88,8 @@
      * Construct new Stereotype tab.
      */
     public TabStereotype() {
-        super(Translator.localize("tab.stereotype"), (orientation
+        super(Translator.localize("tab.stereotype"), (ImageIcon) null);
+        setOrientation((orientation
                 .equals("West") || orientation.equals("East")) ? Vertical
                 .getInstance() : Horizontal.getInstance());
         setLayout(new BorderLayout());
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.