提交 73589ed6 编写于 作者: E egahlin

6417702: Graph in Memory tab is not redrawn immediately if changed via 'Chart' combo box

Reviewed-by: alanb, jbachorik, sjiang
上级 bb13e78e
/* /*
* 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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -228,6 +228,7 @@ class MemoryTab extends Tab implements ActionListener, ItemListener { ...@@ -228,6 +228,7 @@ class MemoryTab extends Tab implements ActionListener, ItemListener {
if (ev.getStateChange() == ItemEvent.SELECTED) { if (ev.getStateChange() == ItemEvent.SELECTED) {
Plotter plotter = (Plotter)plotterChoice.getSelectedItem(); Plotter plotter = (Plotter)plotterChoice.getSelectedItem();
plotterPanel.setPlotter(plotter); plotterPanel.setPlotter(plotter);
plotterPanel.repaint();
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册