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

Should consider hierarchy changes for Print and File dialog windows peers

XMLWordPrintable

    • generic, x86
    • windows, windows_xp, windows_7

      For some reason WFileDialogPeer and WPrintDialogPeer extend WWindowPeer,
      but, in fact, they are not a real subclasses for it, because they don't
      implement number of its methods and also don't have HWND associated with
      this peer (they just show nativa dialogs).

      This introduce the problem for maintanace because every time we change
      something in WWindowPeer or higher (e.g WComponentPeer) we should check if
      such changes are applicable for these classes too (usually they are not).

      Perhaps we should change our hierarchy so these classes do not extend WWindowPeer,
      but implement appropriate peer interfaces.
      ###@###.### 10/14/04 13:20 GMT

            Unassigned Unassigned
            son Oleg Sukhodolsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: