Skip to content

Commit

Permalink
[NETBEANS-491] hide progress bar from Report Problem dialog (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaneja1 authored and geertjanw committed May 8, 2018
1 parent 079b390 commit cd92425
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions uihandler/src/org/netbeans/modules/uihandler/Installer.java
Expand Up @@ -2347,7 +2347,7 @@ public void run() {
}
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 {
Expand Down Expand Up @@ -2672,7 +2672,7 @@ public void run() {

@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;
Expand All @@ -2698,6 +2698,8 @@ public void run() {
}
});
}
} else if("ERROR_URL".equals(msg)) {
jpb.setVisible(false);
}
}

Expand Down

0 comments on commit cd92425

Please sign in to comment.