Joke Collection Website - Blessing messages - How to wrap messagebox in java

How to wrap messagebox in java

Add\n. In the settings of messagebox in java, we can know that adding \n to the line break can be used to break the line. In the text file, use \r\n to break the line. MessageBox refers to displaying a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message, such as status or error information. An integer value is returned in the message box that indicates which button the user clicked.