/hg/release/icedtea-web-1.5: Fixed ConsoleOutputPane UI for lowe...
jkang at icedtea.classpath.org
jkang at icedtea.classpath.org
Wed Jul 30 18:13:59 UTC 2014
changeset 8e9179035018 in /hg/release/icedtea-web-1.5
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=8e9179035018
author: Jie Kang <jkang at redhat.com>
date: Wed Jul 30 14:13:51 2014 -0400
Fixed ConsoleOutputPane UI for lower resolutions.
2014-07-30 Jie Kang <jkang at redhat.com>
Fix to Java ConsoleOutputPane for lower resolutions. Addresses bug
PR1859 where part of the pane is hidden and unnaccessible when
clicking Show Details.
* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java:
diffstat:
ChangeLog | 7 +++++
netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java | 13 ++++++----
2 files changed, 15 insertions(+), 5 deletions(-)
diffs (65 lines):
diff -r f16daf7f68fa -r 8e9179035018 ChangeLog
--- a/ChangeLog Wed Jul 30 14:05:11 2014 -0400
+++ b/ChangeLog Wed Jul 30 14:13:51 2014 -0400
@@ -1,3 +1,10 @@
+2014-07-30 Jie Kang <jkang at redhat.com>
+
+ Fix to Java ConsoleOutputPane for lower resolutions. Addresses bug
+ PR1859 where part of the pane is hidden and unnaccessible when
+ clicking Show Details.
+ * netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java:
+
2014-07-30 Jie Kang <jkang at redhat.com>
Fix to Control Panel UI for lower resolutions. Addresses bug
diff -r f16daf7f68fa -r 8e9179035018 netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java
--- a/netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java Wed Jul 30 14:05:11 2014 -0400
+++ b/netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java Wed Jul 30 14:13:51 2014 -0400
@@ -85,7 +85,9 @@
public ConsoleOutputPane(final ObservableMessagesProvider dataProvider) {
model = new ConsoleOutputPaneModel(dataProvider);
// Create final JComponents members
+
jPanel2 = new JPanel();
+ jpanel2scrollpane = new JScrollPane(jPanel2);
showHeaders = new JCheckBox();
showUser = new JCheckBox();
sortCopyAll = new JCheckBox();
@@ -656,12 +658,12 @@
addComponent(jScrollPane1, GroupLayout.DEFAULT_SIZE, 684, Short.MAX_VALUE).
addGroup(jPanel1Layout.createSequentialGroup().addGroup(jPanel1Layout.createParallelGroup(GroupLayout.Alignment.TRAILING).
addComponent(showHide, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 672, Short.MAX_VALUE).
- addComponent(jPanel2, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)).addContainerGap()))));
+ addComponent(jpanel2scrollpane, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)).addContainerGap()))));
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(GroupLayout.Alignment.LEADING).
addGroup(GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup().addContainerGap().
addComponent(jScrollPane1, GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED).
- addComponent(jPanel2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED).
+ addComponent(jpanel2scrollpane, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED).
addComponent(showHide).addContainerGap()));
final JMenuItem tab = new JMenuItem("insert \\t");
@@ -829,11 +831,11 @@
}
private final void showHideActionPerformed(final ActionEvent evt) {
- if (jPanel2.isVisible()) {
- jPanel2.setVisible(false);
+ if (jpanel2scrollpane.isVisible()) {
+ jpanel2scrollpane.setVisible(false);
showHide.setText(Translator.R("ButShowDetails"));
} else {
- jPanel2.setVisible(true);
+ jpanel2scrollpane.setVisible(true);
showHide.setText(Translator.R("ButHideDetails"));
}
}
@@ -922,6 +924,7 @@
private final JButton copyRich;
private final JCheckBox highLight;
private final JEditorPane jEditorPane1;
+ private final JScrollPane jpanel2scrollpane;
private final JPanel jPanel2;
private final JScrollPane jScrollPane1;
private final JCheckBox mark;
More information about the distro-pkg-dev
mailing list