diff --git a/build.gradle b/build.gradle index aa3b4e8..9906318 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ group "com.netspi.awssigner" -version "2.0.1" +version "2.0.2" apply plugin: "java" diff --git a/src/main/java/com/netspi/awssigner/controller/AWSSignerController.java b/src/main/java/com/netspi/awssigner/controller/AWSSignerController.java index f90287d..2dc51f4 100644 --- a/src/main/java/com/netspi/awssigner/controller/AWSSignerController.java +++ b/src/main/java/com/netspi/awssigner/controller/AWSSignerController.java @@ -294,8 +294,7 @@ private void initListeners() { Profile newProfile = newProfileOptional.get(); if (profile.getName().equals(newProfile.getName())) { //Showing the same profile. we can update UI fields. - view.profileStatusTextLabel.putClientProperty("html.disable", null); - view.profileStatusTextLabel.setText("Success"); + view.profileStatusTextLabel.setText("Success"); if (profile instanceof CommandProfile) { view.commandExtractedAccessKeyTextField.setText(creds.getAccessKey()); view.commandExtractedSecretKeyTextField.setText(creds.getSecretKey()); @@ -311,7 +310,8 @@ private void initListeners() { //Quick check to see if we need to report the cause at one level deeper Throwable cause = ex.getCause() == null ? ex : ex.getCause(); logError("Cause: " + cause.getMessage()); - view.profileStatusTextLabel.setText("Error testing profile: " + cause.getMessage()); + view.profileStatusTextLabel.putClientProperty("html.disable", null); + view.profileStatusTextLabel.setText("Error testing profile: " + cause.getMessage() + ""); } }).start(); @@ -374,7 +374,8 @@ private void initListeners() { logError("Unable to parse session policy into JSON object and pretty print. Current value: " + sessionPolicy); //Quick check to see if we need to report the cause at one level deeper Throwable cause = ex.getCause() == null ? ex : ex.getCause(); - view.profileStatusTextLabel.setText("Session policy error: " + cause.getMessage()); + view.profileStatusTextLabel.putClientProperty("html.disable", null); + view.profileStatusTextLabel.setText("Session policy error: " + cause.getMessage() + ""); } } else { logDebug("There's no current session policy. Nothing to set."); diff --git a/src/main/java/com/netspi/awssigner/view/BurpTabPanel.form b/src/main/java/com/netspi/awssigner/view/BurpTabPanel.form index 60971cb..d23a355 100644 --- a/src/main/java/com/netspi/awssigner/view/BurpTabPanel.form +++ b/src/main/java/com/netspi/awssigner/view/BurpTabPanel.form @@ -421,11 +421,11 @@ - + - + @@ -468,9 +468,9 @@ - - - + + + diff --git a/src/main/java/com/netspi/awssigner/view/BurpTabPanel.java b/src/main/java/com/netspi/awssigner/view/BurpTabPanel.java index 0a73fa9..97d7425 100644 --- a/src/main/java/com/netspi/awssigner/view/BurpTabPanel.java +++ b/src/main/java/com/netspi/awssigner/view/BurpTabPanel.java @@ -643,11 +643,11 @@ public void mouseClicked(java.awt.event.MouseEvent evt) { .addGroup(profileConfigurationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(profileConfigurationPanelLayout.createSequentialGroup() .addGap(10, 10, 10) - .addGroup(profileConfigurationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(profileConfigurationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(profileConfigurationPanelLayout.createSequentialGroup() .addComponent(profileStatusLabel) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(profileStatusTextLabel)) + .addComponent(profileStatusTextLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 637, Short.MAX_VALUE)) .addGroup(profileConfigurationPanelLayout.createSequentialGroup() .addGroup(profileConfigurationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(profileServiceLabel) @@ -678,7 +678,7 @@ public void mouseClicked(java.awt.event.MouseEvent evt) { .addComponent(profileConfigurationLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(profileNameLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addGroup(profileConfigurationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addGroup(profileConfigurationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(profileStatusLabel) .addComponent(profileStatusTextLabel)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)