You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ge...@apache.org on 2018/05/08 13:05:56 UTC
[incubator-netbeans] branch master updated: [NETBEANS-491] hide
progress bar from Report Problem dialog (#539)
This is an automated email from the ASF dual-hosted git repository.
geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new cd92425 [NETBEANS-491] hide progress bar from Report Problem dialog (#539)
cd92425 is described below
commit cd92425cabb61a45f3f1110bfb134438ec0e7e32
Author: Reema Taneja <32...@users.noreply.github.com>
AuthorDate: Tue May 8 18:35:53 2018 +0530
[NETBEANS-491] hide progress bar from Report Problem dialog (#539)
---
uihandler/src/org/netbeans/modules/uihandler/Installer.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/uihandler/src/org/netbeans/modules/uihandler/Installer.java b/uihandler/src/org/netbeans/modules/uihandler/Installer.java
index 5a3d1e2..8070e29 100644
--- a/uihandler/src/org/netbeans/modules/uihandler/Installer.java
+++ b/uihandler/src/org/netbeans/modules/uihandler/Installer.java
@@ -2347,7 +2347,7 @@ public class Installer extends ModuleInstall implements Runnable {
}
Dimension dim = new Dimension(350, 50);
if ("ERROR_URL".equals(msg)) {
- dim = new Dimension(370, 250);
+ dim = new Dimension(370, 200);
}
browser = new JEditorPane();
try {
@@ -2672,7 +2672,7 @@ public class Installer extends ModuleInstall implements Runnable {
@Override
protected void alterMessage(final DialogDescriptor dd) {
- if ("ERROR_URL".equals(msg)&(dd.getOptions().length > 1)){
+ if ((dd.getOptions().length > 1) && ("ERROR_URL".equals(msg))){
Object obj = dd.getOptions()[0];
AbstractButton abut = null;
String rptr = null;
@@ -2698,6 +2698,8 @@ public class Installer extends ModuleInstall implements Runnable {
}
});
}
+ } else if("ERROR_URL".equals(msg)) {
+ jpb.setVisible(false);
}
}
--
To stop receiving notification emails like this one, please contact
geertjan@apache.org.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists