mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-08 22:19:18 +00:00
6417702: Graph in Memory tab is not redrawn immediately if changed via 'Chart' combo box
Reviewed-by: alanb, jbachorik, sjiang
This commit is contained in:
parent
b42c6fb241
commit
06e0c4e161
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user