Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4139736

JOptionPane needs support for Windows newline charactors added

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0, 1.3.0
    • client-libs
    • beta
    • x86
    • windows_nt
    • Verified

      With JOptionPane as a message box on WinNT 4, when a message box is displayed with the system new line (\r\n), little boxes appeared at each new line. When hard-coded '\n' is put in for each dialog, everything is displayed properly.
      We shouldn't hard-code a UNIX newline character without doing the same for Windows.

      Scott Violet's comments regarding this:
      "I think it is more of I didn't consider it:) I think we should add
      support for this. The parsing only looks for \n, not \r\n, which is
      why \r is getting rendered as a pretty little box."




            amfowler Anne Fowler (Inactive)
            nschorrsunw Nancy Schorr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: