JOptionPane with multiple inputs on different lines
问题 I'd like to create a JOptionPane that allows a user to select an IP address and port to connect to. It should be structured as such, IP Address: [textfield here] Port: [textfield here] Cancel OK The labels should be aligned to the left, and the textfields should be left aligned too. I can't really model the storyboard here, but basically the textfields shouldn't be misaligned, even if there is a space between the labels and the textfields. Each label and textfield pair should be on seperate