--- old/src/share/classes/sun/tools/jconsole/inspector/XMBeanNotifications.java 2012-05-11 14:51:52.725837545 +0200 +++ new/src/share/classes/sun/tools/jconsole/inspector/XMBeanNotifications.java 2012-05-11 14:51:51.888806043 +0200 @@ -26,7 +26,6 @@ package sun.tools.jconsole.inspector; import javax.swing.*; -import javax.swing.event.*; import javax.swing.table.*; import javax.swing.tree.*; import java.awt.Font; @@ -46,19 +45,19 @@ import javax.management.openmbean.TabularData; import sun.tools.jconsole.JConsole; -import sun.tools.jconsole.Resources; +import sun.tools.jconsole.resources.Messages; @SuppressWarnings("serial") public class XMBeanNotifications extends JTable implements NotificationListener { private final static String[] columnNames = { - Resources.getText("TimeStamp"), - Resources.getText("Type"), - Resources.getText("UserData"), - Resources.getText("SeqNum"), - Resources.getText("Message"), - Resources.getText("Event"), - Resources.getText("Source") + Messages.TIME_STAMP, + Messages.TYPE, + Messages.USER_DATA, + Messages.SEQ_NUM, + Messages.MESSAGE, + Messages.EVENT, + Messages.SOURCE }; private HashMap listeners = new HashMap(); @@ -183,7 +182,7 @@ } if (cell != null) { - toolTip = Resources.getText("Double click to expand/collapse") + + toolTip = Messages.DOUBLE_CLICK_TO_EXPAND_FORWARD_SLASH_COLLAPSE+ ". " + cell.toString(); } else { Object val = @@ -599,7 +598,6 @@ class XMBeanNotificationsListener implements NotificationListener { - private String[] columnNames; private XMBean xmbean; private DefaultMutableTreeNode node; private volatile long received; @@ -615,7 +613,6 @@ this.notifications = notifications; this.xmbean = xmbean; this.node = node; - this.columnNames = columnNames; register(node); }