@Override protected void drawDialog(int mouseX, int mouseY, float f) { drawCenteredString( fontRendererObj, Translator.translate("postfailed"), dialogX + (dialogWidth / 2), dialogY + 18, 0xFFFF5555); drawCenteredString( fontRendererObj, this.errorMessage, dialogX + (dialogWidth / 2), dialogY + 32, 0xFFFFAA00); }
public TwitterUploadFailedPopup( TwitterPostPopup parentScreen, StatusUpdate failedUpdate, String errorMessage) { super(parentScreen, 320, 80, Translator.translate("twitterpostfailed")); this.failedUpdate = failedUpdate; this.errorMessage = errorMessage; }