From 73589ed66a3caa4d54bf15add3b82c12f06a1fab Mon Sep 17 00:00:00 2001 From: egahlin Date: Fri, 16 Aug 2013 17:02:12 +0200 Subject: [PATCH] 6417702: Graph in Memory tab is not redrawn immediately if changed via 'Chart' combo box Reviewed-by: alanb, jbachorik, sjiang --- src/share/classes/sun/tools/jconsole/MemoryTab.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/share/classes/sun/tools/jconsole/MemoryTab.java b/src/share/classes/sun/tools/jconsole/MemoryTab.java index 29bed08c5..c4a5970b3 100644 --- a/src/share/classes/sun/tools/jconsole/MemoryTab.java +++ b/src/share/classes/sun/tools/jconsole/MemoryTab.java @@ -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 @@ class MemoryTab extends Tab implements ActionListener, ItemListener { if (ev.getStateChange() == ItemEvent.SELECTED) { Plotter plotter = (Plotter)plotterChoice.getSelectedItem(); plotterPanel.setPlotter(plotter); + plotterPanel.repaint(); } } -- GitLab