amountFull, height)); } else { // VERTICAL SubstanceTextUtilities.paintVerticalText(g, this.progressBar, renderRectangle, progressString, -1, progressBar.getFont(), getSelectionBackground(), new Rectangle(x, y, width, progressBar.getHeight() - amountFull), progressBar .getComponentOrientation().isLeftToRight()); SubstanceTextUtilities.paintVerticalText(g, this.progressBar, renderRectangle, progressString, -1, progressBar.getFont(), getSelectionForeground(), new Rectangle(x, fillStart,
amountFull, height)); } else { // VERTICAL SubstanceTextUtilities.paintVerticalText(g, this.progressBar, renderRectangle, progressString, -1, progressBar.getFont(), getSelectionBackground(), new Rectangle(x, y, width, progressBar.getHeight() - amountFull), progressBar .getComponentOrientation().isLeftToRight()); SubstanceTextUtilities.paintVerticalText(g, this.progressBar, renderRectangle, progressString, -1, progressBar.getFont(), getSelectionForeground(), new Rectangle(x, fillStart,