String buttonText = replaceMessageVariables(uploaderProperties .getStringProperty(propertiesPrefix + ".text", null)); String buttonTooltip = replaceMessageVariables(uploaderProperties .getStringProperty(propertiesPrefix + ".tooltip", null)); String text = replaceMessageVariables(buttonText); button.setText(text); button.setMnemonic(text.charAt(0));
String buttonText = replaceMessageVariables(uploaderProperties .getStringProperty(propertiesPrefix + ".text", null)); String buttonTooltip = replaceMessageVariables(uploaderProperties .getStringProperty(propertiesPrefix + ".tooltip", null)); String text = replaceMessageVariables(buttonText); button.setText(text); button.setMnemonic(text.charAt(0));
String applicationTitle = replaceMessageVariables( uploaderProperties.getStringProperty("gui.applicationTitle", null)); if (applicationTitle != null) { footerLabel.setHorizontalAlignment(JLabel.CENTER); if (footerHtml != null) { footerLabel.setText(replaceMessageVariables(footerHtml)); includeFooter = true;
String applicationTitle = replaceMessageVariables( uploaderProperties.getStringProperty("gui.applicationTitle", null)); if (applicationTitle != null) { footerLabel.setHorizontalAlignment(JLabel.CENTER); if (footerHtml != null) { footerLabel.setText(replaceMessageVariables(footerHtml)); includeFooter = true;
userGuidanceLabel.setText(replaceMessageVariables(title)); replaceMessageVariables(uploaderProperties.getStringProperty("screen.2.dragDropPrompt", "Missing property 'screen.2.dragDropPrompt'"))); this.getDropTarget().setActive(true); String fileInformation = uploaderProperties.getStringProperty("screen.3.fileInformation", "Missing property 'screen.3.fileInformation'"); fileToUploadLabel.setText(replaceMessageVariables(fileInformation)); } else if (nextState == WIZARD_SCREEN_4) { primaryPanelCardLayout.show(primaryPanel, "screen4"); fileInformationLabel.setText(replaceMessageVariables(fileInformation)); finalMessageLabel.setText(replaceMessageVariables(finalMessage)); } else { log.error("Ignoring unexpected wizard screen number: " + nextState);
userGuidanceLabel.setText(replaceMessageVariables(title)); replaceMessageVariables(uploaderProperties.getStringProperty("screen.2.dragDropPrompt", "Missing property 'screen.2.dragDropPrompt'"))); this.getDropTarget().setActive(true); String fileInformation = uploaderProperties.getStringProperty("screen.3.fileInformation", "Missing property 'screen.3.fileInformation'"); fileToUploadLabel.setText(replaceMessageVariables(fileInformation)); } else if (nextState == WIZARD_SCREEN_4) { primaryPanelCardLayout.show(primaryPanel, "screen4"); fileInformationLabel.setText(replaceMessageVariables(fileInformation)); finalMessageLabel.setText(replaceMessageVariables(finalMessage)); } else { log.error("Ignoring unexpected wizard screen number: " + nextState);
progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressTransferDetailsLabel.setText(""); } else { progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressTransferDetailsLabel.setText(replaceMessageVariables(transferDetailsText));
progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressTransferDetailsLabel.setText(""); } else { progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressTransferDetailsLabel.setText(replaceMessageVariables(transferDetailsText));