changeset 19429:7de30a1db3b3

6417702: Graph in Memory tab is not redrawn immediately if changed via 'Chart' combo box Reviewed-by: alanb, jbachorik, sjiang
author egahlin
date Fri, 16 Aug 2013 17:02:12 +0200
parents 83f87aff7b07
children 4f0314c65ab9
files jdk/src/share/classes/sun/tools/jconsole/MemoryTab.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/sun/tools/jconsole/MemoryTab.java	Tue Aug 06 14:26:34 2013 +0100
+++ b/jdk/src/share/classes/sun/tools/jconsole/MemoryTab.java	Fri Aug 16 17:02:12 2013 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -228,6 +228,7 @@
         if (ev.getStateChange() == ItemEvent.SELECTED) {
             Plotter plotter = (Plotter)plotterChoice.getSelectedItem();
             plotterPanel.setPlotter(plotter);
+            plotterPanel.repaint();
         }
     }