Packing frames wit menu bars

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.1.3
    • Component/s: client-libs
    • None
    • x86
    • windows_95



      Name: rlT66838 Date: 07/21/97


      I've got a frame window that has a single component that shows a fixed-sized bitmap (about 400x400).
      That component inherits directly from Component to take advantage of the Lightweight UI.
      It overrrides getMaximumSize, getMinimumSize and getPreferredSize to return in all cases the bitmap's size.
      After calling pack() everything works as expected, but if the frame has a menu bar the component won't be sized correctly and so the bitmap won't be completely displayed.
      I've tried with several layout managers and with a heavyweight canvas but the frame never packs correctly if it has a menu bar.


      ======================================================================

            Assignee:
            Creighton Chong (Inactive)
            Reporter:
            Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: