Proposal for Adding Cross-Platform Custom Window Decorations Support to Java SE

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 17, 21, 25, 27
    • Component/s: client-libs

      A DESCRIPTION OF THE PROBLEM :
      Subject: Proposal for Adding Cross-Platform Custom Window Decorations Support to Java SE
      Respected Oracle Java Team:
      I am a Java developer, and I currently face a challenge while developing cross-platform desktop applications: the inability to customize the window title bar (including borderless, custom buttons, title bar colors, etc.) as Electron does.
      Existing solutions (such as JFrame.setUndecorated) require developers to completely redraw window control buttons and provide inconsistent experiences across different operating systems.
      It is recommended to consider:
      1. Add cross-platform native window decoration API in Java SE
      2. Provide an interface similar to SystemWindowDecorator
      3. Support native visual effects of the operating system while allowing a certain degree of customization
      This will make Java more competitive in modern desktop application development.
      Thank you for considering!

      FREQUENCY :
      ALWAYS

            Assignee:
            Prasanta Sadhukhan
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: