Mercurial > hg > thermostat
changeset 2563:512785b11eda
Change JTabbedPane to ThermostatTabbedPane in MemoryStatsView
Reviewed-by: aazores
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-January/022026.html
author | Alex Macdonald <almacdon@redhat.com> |
---|---|
date | Thu, 19 Jan 2017 17:29:23 -0500 |
parents | 7746392aec3c |
children | 5a684edcb663 |
files | vm-memory/client-swing/src/main/java/com/redhat/thermostat/vm/memory/client/swing/internal/MemoryStatsViewImpl.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/vm-memory/client-swing/src/main/java/com/redhat/thermostat/vm/memory/client/swing/internal/MemoryStatsViewImpl.java Thu Jan 19 16:02:46 2017 -0500 +++ b/vm-memory/client-swing/src/main/java/com/redhat/thermostat/vm/memory/client/swing/internal/MemoryStatsViewImpl.java Thu Jan 19 17:29:23 2017 -0500 @@ -50,7 +50,6 @@ import javax.swing.BoxLayout; import javax.swing.JOptionPane; import javax.swing.JPanel; -import javax.swing.JTabbedPane; import javax.swing.SwingUtilities; import com.redhat.thermostat.client.core.views.BasicView; @@ -58,6 +57,7 @@ import com.redhat.thermostat.client.swing.components.HeaderPanel; import com.redhat.thermostat.client.swing.components.MultiChartPanel; import com.redhat.thermostat.client.swing.components.MultiChartPanel.DataGroup; +import com.redhat.thermostat.client.swing.components.ThermostatTabbedPane; import com.redhat.thermostat.client.swing.components.experimental.RecentTimeControlPanel; import com.redhat.thermostat.client.swing.experimental.ComponentVisibilityNotifier; import com.redhat.thermostat.common.ActionListener; @@ -82,7 +82,7 @@ private long lastRepaint; private HeaderPanel visiblePanel; - private JTabbedPane rootPanel; + private ThermostatTabbedPane rootPanel; private JPanel graphPanel; private JPanel contentPanel; private JPanel tlabPanel; @@ -131,7 +131,7 @@ createTlabPanel(); - rootPanel = new JTabbedPane(); + rootPanel = new ThermostatTabbedPane(); rootPanel.addTab(t.localize(LocaleResources.TAB_MEMORY).getContents(), null, contentPanel, t.localize(LocaleResources.TAB_MEMORY_TOOLTIP).getContents()); rootPanel.addTab(t.localize(LocaleResources.TAB_TLAB).getContents(), null, tlabPanel, t.localize(LocaleResources.TAB_TLAB_TOOLTIP).getContents());