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

Accept code contribution / concept for OS-specific button ordering using button order string and specification of button type

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u40
    • 8u40
    • javafx
    • None

      Description (and attached files) from Mikael Grev (via email), contributed using the OCA:
      =========================================
      I have attached the files. It’s easy stuff though, but you might want to have it there for legal reasons?

      The ButtonType you probably got from the first attachment in the Alert thread I sent you. There’s no enum in MigLayout.
      The button order is from the PlatformDefaults.java. Look in method getButtonOrder(). That’s where the doc is.
      The actual reordering and interpreting of the string is in sortCellsByPlatform() in Grid.java. But it’s quite MigLayout specific and I’m not sure you used that code. It’s simple stuff anyway to parse the string.
      =========================================

      Mikael is correct, ButtonType came via Mikael's code contribution to RT-12643.

            jgiles Jonathan Giles
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: