src/share/classes/sun/tools/jconsole/inspector/XDataViewer.java

Print this page

        

@@ -32,11 +32,11 @@
 import java.awt.event.MouseListener;
 import java.awt.Component;
 import java.awt.Container;
 
 import sun.tools.jconsole.MBeansTab;
-import sun.tools.jconsole.Resources;
+import sun.tools.jconsole.resources.Messages;
 
 public class XDataViewer {
 
     public static final int OPEN = 1;
     public static final int ARRAY = 2;

@@ -98,14 +98,14 @@
     }
 
     public static String getActionLabel(int type) {
         if(type == ARRAY ||
            type == OPEN)
-            return Resources.getText("visualize");
+            return Messages.VISUALIZE;
         if(type == NUMERIC)
-            return Resources.getText("plot");
-        return Resources.getText("expand");
+            return Messages.PLOT;
+        return Messages.EXPAND;
     }
 
     public Component createOperationViewer(Object value,
                                            XMBean mbean) {
         if(value instanceof Number) return null;