At 5 Sep 2001 12:21:46 -0000,
[EMAIL PROTECTED] wrote:
>                               this.defaultpw = 
>JOptionPane.showInputDialog(GuiPackage.getInstance().getMainFrame(),
>                                                           "KeyStore Password",
>                                                           "Input Password",
>                                                           
>JOptionPane.QUESTION_MESSAGE);
>                               
>JMeterUtils.getJMeterProperties().setProperty("javax.net.ssl.keyStorePassword", 
>this.defaultpw);
>                           this.defaultAlias =
>                               
>JOptionPane.showInputDialog(GuiPackage.getInstance().getMainFrame(),
>                                                           "Please type your prefered 
>alias",
>                                                           "Client Alias",
>                                                           
>JOptionPane.QUESTION_MESSAGE);

If you use java.util.ResourceBundle and split messages to
org/apache/jmeter/resources/message.properties, it would help
internationalization and localization.


ex.

 ResourceBundle rb =
 ResourceBundle.getBundle("org.apache.jmeter.resources.messages");

...

"Please type your prefered alias" 
      -> rb.getString("type_alias");

[org/apache/jmeter/resources/messages.properties]
type_alias=Please type your prefered alias

regards.
----
Takashi Okamoto



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to