Mercurial > hg > release > thermostat-1.4
changeset 1771:13123d2a1748
Use ThermostatScrollPane instead of JScrollPane in setup.
Stand-alone backport of:
http://icedtea.classpath.org/hg/thermostat/rev/665384b20e8d#l5.1
Reviewed-by: omajid
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-September/015790.html
PR2581
author | Severin Gehwolf <sgehwolf@redhat.com> |
---|---|
date | Thu, 03 Sep 2015 18:42:54 +0200 |
parents | 8e13b9b29f10 |
children | e7ddc7a848df |
files | setup/command/src/main/java/com/redhat/thermostat/setup/command/internal/StartView.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup/command/src/main/java/com/redhat/thermostat/setup/command/internal/StartView.java Thu Sep 03 17:17:14 2015 -0400 +++ b/setup/command/src/main/java/com/redhat/thermostat/setup/command/internal/StartView.java Thu Sep 03 18:42:54 2015 +0200 @@ -36,6 +36,7 @@ package com.redhat.thermostat.setup.command.internal; +import com.redhat.thermostat.client.swing.components.ThermostatScrollPane; import com.redhat.thermostat.common.ApplicationInfo; import com.redhat.thermostat.setup.command.locale.LocaleResources; import com.redhat.thermostat.shared.locale.Translate; @@ -51,6 +52,7 @@ import javax.swing.JScrollPane; import javax.swing.event.HyperlinkEvent; import javax.swing.event.HyperlinkListener; + import java.awt.BorderLayout; import java.awt.Component; import java.awt.Desktop; @@ -112,7 +114,7 @@ } } }); - JScrollPane scrollPane = new JScrollPane(thermostatBlurb); + JScrollPane scrollPane = new ThermostatScrollPane(thermostatBlurb); scrollPane.setAlignmentX(Component.LEFT_ALIGNMENT); midPanel = new JPanel();