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

Solaris: Shell names should reflect Window class name or main() class name

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • client-libs
    • None
    • beta
    • generic, sparc
    • solaris_8

      In awt_TopLevel.c, we find the following:
              wdata->winData.shell = XtAppCreateShell("AWTapp",
                                           "XApplication",
                                           vendorShellWidgetClass,
                                           awt_display,
                                           args,
                                           argc);
      and
              wdata->winData.shell = XtCreatePopupShell("AWTdialog",
                                            transientShellWidgetClass,
                                            pdata->winData.shell,
                                            args,
                                            argc);

      This code hardcodes the shell name to either "AWTapp" or "AWTdialog". It
      would be preferable to customize the name based on the name of the
      Window/Frame/Dialog subclass, or the name of the class which contained
      the main() method invoked at the command line.

      This is similar to BugId 4284277 for Win32.

            uwesunw Uwe Uwe (Inactive)
            dmendenhsunw David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: