Skip to content

Commit

Permalink
Applying a few more changes as per MM review
Browse files Browse the repository at this point in the history
  • Loading branch information
Windchild292 committed Mar 12, 2021
1 parent 983fd3b commit c2e484a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ protected AbstractMHQButtonDialog(final JFrame frame, final String name, final S

/**
* This creates an AbstractMHQButtonDialog using the default MHQ resource bundle. It allows one
* to create non-modal button dialogs, which is not recommended by default
* to create non-modal button dialogs, which is not recommended by default.
*/
protected AbstractMHQButtonDialog(final JFrame frame, final boolean modal, final String name,
final String title) {
this(frame, modal, ResourceBundle.getBundle("mekhq.resources.GUI", new EncodeControl()), name, title);
}

/**
* This creates an AbstractMHQButtonDialog using the specified resource bundle. This is not recommended
* by default.
* This creates an AbstractMHQButtonDialog using the specified resource bundle. This is not
* recommended by default.
*/
protected AbstractMHQButtonDialog(final JFrame frame, final boolean modal, final ResourceBundle resources,
final String name, final String title) {
Expand Down
3 changes: 2 additions & 1 deletion MekHQ/src/mekhq/gui/baseComponents/AbstractMHQDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ protected AbstractMHQDialog(final JFrame frame, final String name, final String
}

/**
* This creates an AbstractMHQDialog using the default MHQ resource bundle
* This creates an AbstractMHQDialog using the default MHQ resource bundle. It allows one
* to create modal dialogs.
*/
protected AbstractMHQDialog(final JFrame frame, final boolean modal, final String name, final String title) {
this(frame, modal, ResourceBundle.getBundle("mekhq.resources.GUI", new EncodeControl()), name, title);
Expand Down

0 comments on commit c2e484a

Please sign in to comment.