This commit is contained in:
Tim Bell 2008-06-13 12:16:01 -07:00
commit 0218de0c75

View file

@ -157,7 +157,7 @@ public class XPlottingViewer extends PlotterPanel implements ActionListener {
public void run() { public void run() {
try { try {
Number n = Number n =
(Number) xmbean.getMBeanServerConnection().getAttribute(xmbean.getObjectName(), attributeName); (Number) xmbean.getSnapshotMBeanServerConnection().getAttribute(xmbean.getObjectName(), attributeName);
long v; long v;
if (n instanceof Float || n instanceof Double) { if (n instanceof Float || n instanceof Double) {
plotter.setDecimals(PLOTTER_DECIMALS); plotter.setDecimals(PLOTTER_DECIMALS);