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

Non-resizable dialog still has frame icon that allows sizing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.1.5, 1.1.6
    • Fix Version/s: 1.1.7
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Not verified

      Backports

        Description



        Name: jtC48319 Date: 06/15/98


        This is observed Windows NT 4.0.

        A Frame or Dialog that has been made non-resizable by calling setResizable(false) will not allow sizing via the frame border--the correct behavior--but it still has a frame icon that has Size, Minimize, and Maximize menu items that allow resizing. This is obviosly incorrect behavior, and is confusing to the user.

        Example program:

        import com.sun.java.swing.*;

        public class foo
        {
        public static void main(String[] args)
        {
        JDialog dlg = new JDialog();
        dlg.setResizable(false);
        dlg.setModal(true);
        dlg.show();
        }
        }
        (Review ID: 33676)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rkhansunw Robi Khan (Inactive)
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: