Changeset 17818 for release-kits

Show
Ignore:
Timestamp:
11.11.2008 17:09:28 (11 years ago)
Author:
oranfry
Message:

made the chinese language prompt work

Location:
release-kits/shared/ant-installer
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/renderer/swing/SelectInputRenderer.java

    r17517 r17818  
    9090 
    9191    private void jbInit() throws Exception { 
    92         fieldLabel.setText(inputField.getDisplayText()); 
     92        fieldLabel.setText( "<html>" + inputField.getDisplayText() + "</html>" ); 
    9393        SelectInput.Option[] options = inputField.getOptions(); 
    9494 
    9595        for (int i = 0; i < options.length; i++) { 
    96             JRadioButton jrb = new AIRadioButton(options[i].getText()); 
     96            JRadioButton jrb = new AIRadioButton( "<html><font size=+0>" + options[i].getText() + "</font></html>" ); 
    9797            optionGroup.add(jrb); 
    9898            if(options[i].value.equals(inputField.getDefaultValue())){