public void run() { progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressBar.setValue(0); } });
public void run() { progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressBar.setValue(0); } });
public void run() { fileInformationLabel.setText( replaceMessageVariables(uploaderProperties.getStringProperty("screen.4.summaryFileInformation", "Missing property 'screen.4.summaryFileInformation'"))); progressStatusTextLabel.setText( replaceMessageVariables(uploaderProperties.getStringProperty("screen.4.connectingMessage", "Missing property 'screen.4.connectingMessage'"))); }; });
public void run() { progressStatusTextLabel.setText( replaceMessageVariables(uploaderProperties.getStringProperty("screen.4.connectingMessage", "Missing property 'screen.4.connectingMessage'"))); progressBar.setValue(0); }; });
public void run() { progressStatusTextLabel.setText( replaceMessageVariables(uploaderProperties.getStringProperty("screen.4.connectingMessage", "Missing property 'screen.4.connectingMessage'"))); progressBar.setValue(0); }; });
public void run() { fileInformationLabel.setText( replaceMessageVariables(uploaderProperties.getStringProperty("screen.4.summaryFileInformation", "Missing property 'screen.4.summaryFileInformation'"))); progressStatusTextLabel.setText( replaceMessageVariables(uploaderProperties.getStringProperty("screen.4.connectingMessage", "Missing property 'screen.4.connectingMessage'"))); }; });
public void run() { // Creating file hash message progressStatusTextLabel.setText(replaceMessageVariables( uploaderProperties.getStringProperty("screen.4.hashingMessage", "Missing property 'screen.4.hashingMessage'"))); }; });
public void run() { // Creating file hash message progressStatusTextLabel.setText(replaceMessageVariables( uploaderProperties.getStringProperty("screen.4.hashingMessage", "Missing property 'screen.4.hashingMessage'"))); }; });
/** * * @param htmlText * the html text to display in the label. This text doesn't necessarily have to be HTML, * but why would you use this control if it isn't? * @param listener * a listener responsible for following an href link if it is triggered. */ public JHtmlLabel(String htmlText, HyperlinkActivatedListener listener) { super(); if (htmlText != null) { this.setText(htmlText); } if (listener != null) { setHyperlinkeActivatedListener(listener); } addMouseListener(this); addMouseMotionListener(this); }
/** * * @param htmlText * the html text to display in the label. This text doesn't necessarily have to be HTML, * but why would you use this control if it isn't? * @param listener * a listener responsible for following an href link if it is triggered. */ public JHtmlLabel(String htmlText, HyperlinkActivatedListener listener) { super(); if (htmlText != null) { this.setText(htmlText); } if (listener != null) { setHyperlinkeActivatedListener(listener); } addMouseListener(this); addMouseMotionListener(this); }
progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressTransferDetailsLabel.setText(""); } else { String bytesCompletedStr = byteFormatter.formatByteSize(watcher.getBytesTransferred()); progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressTransferDetailsLabel.setText(replaceMessageVariables(transferDetailsText)); progressStatusTextLabel.setText(""); progressTransferDetailsLabel.setText(""); SwingUtilities.invokeLater(new Runnable() { public void run() { progressStatusTextLabel.setText(""); progressTransferDetailsLabel.setText(""); uploadCancelled = true; drawWizardScreen(WIZARD_SCREEN_3); progressStatusTextLabel.setText(""); progressTransferDetailsLabel.setText(""); failWithFatalError(ERROR_CODE__S3_UPLOAD_FAILED); SwingUtilities.invokeLater(new Runnable() {
messageLabel.setText("File privacy setting:"); messageLabel.setHorizontalAlignment(JLabel.CENTER);
messageLabel.setText("File privacy setting:"); messageLabel.setHorizontalAlignment(JLabel.CENTER);
progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressTransferDetailsLabel.setText(""); } else { String bytesCompletedStr = byteFormatter.formatByteSize(watcher.getBytesTransferred()); progressStatusTextLabel.setText(replaceMessageVariables(statusText)); progressTransferDetailsLabel.setText(replaceMessageVariables(transferDetailsText)); progressStatusTextLabel.setText(""); progressTransferDetailsLabel.setText(""); SwingUtilities.invokeLater(new Runnable() { public void run() { progressStatusTextLabel.setText(""); progressTransferDetailsLabel.setText(""); uploadCancelled = true; drawWizardScreen(WIZARD_SCREEN_3); progressStatusTextLabel.setText(""); progressTransferDetailsLabel.setText(""); failWithFatalError(ERROR_CODE__S3_UPLOAD_FAILED); SwingUtilities.invokeLater(new Runnable() {
itemsDescription.setText("<html><b>Object count</b>: " + s3Items.length + " objects"); } else { if (s3Items[0] instanceof S3Bucket) { itemsDescription.setText("<html><b>Bucket</b><br>" + ((S3Bucket)s3Items[0]).getName()); } else { itemsDescription.setText("<html><b>Object</b><br>" + ((S3Object)s3Items[0]).getKey());
itemsDescription.setText("<html><b>Object count</b>: " + s3Items.length + " objects"); } else { if (s3Items[0] instanceof S3Bucket) { itemsDescription.setText("<html><b>Bucket</b><br>" + ((S3Bucket)s3Items[0]).getName()); } else { itemsDescription.setText("<html><b>Object</b><br>" + ((S3Object)s3Items[0]).getKey());
userGuidanceLabel.setText(replaceMessageVariables(title)); dragDropTargetLabel.setText( replaceMessageVariables(uploaderProperties.getStringProperty("screen.2.dragDropPrompt", "Missing property 'screen.2.dragDropPrompt'"))); 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)); dragDropTargetLabel.setText( replaceMessageVariables(uploaderProperties.getStringProperty("screen.2.dragDropPrompt", "Missing property 'screen.2.dragDropPrompt'"))); 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);