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

JOptionPane.getMaxCharactersPerLineCount needs a setMaxCharactersPerLineCount

XMLWordPrintable

    • Fix Understood
    • generic
    • generic



      Name: krT82822 Date: 09/22/99


      It is highly inconvenient heaving to overload JOptionPane
      just to be able to set the maximum number of characters per
      line (by overriding the getMaxCharactersPerLineCount method).
      The need to d this also is pretty inconvenient because then
      your subclass can't use the many static methods provided in
      the JOptionPane class because they all create instances of
      'JOptionPane' and not of your derived class.

      Thus I would like to request the creation of a method called
      'setMaxCharactersPerLineCount' that allows to set the required
      value directly in the 'JOptionPane' class and it would follow
      the general 'set/get' methodology introduced in Java.
      (Review ID: 95572)
      ======================================================================

            Unassigned Unassigned
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: