25 |
* |
* |
26 |
* Contributors: |
* Contributors: |
27 |
* Martin O. J. Schmitz - initial API and implementation |
* Martin O. J. Schmitz - initial API and implementation |
28 |
* Stefan A. Krüger - additional utility classes |
* Stefan A. Tzeggai - additional utility classes |
29 |
******************************************************************************/ |
******************************************************************************/ |
30 |
package skrueger.swing; |
package skrueger.swing; |
31 |
|
|
162 |
setTitle(SwingUtil.R("TranslationAskJDialog.Title")); |
setTitle(SwingUtil.R("TranslationAskJDialog.Title")); |
163 |
setModal(true); |
setModal(true); |
164 |
pack(); |
pack(); |
165 |
SwingUtil.centerFrameOnScreen(this); |
SwingUtil.setRelativeFramePosition(this, getParent(), .5, .5); |
166 |
} |
} |
167 |
|
|
168 |
public void setOptionalButtons(JButton... optionalButtons) { |
public void setOptionalButtons(JButton... optionalButtons) { |