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

setBounds works incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.1.3
    • client-libs
    • sparc
    • solaris_2.5.1



      Name: diC59631 Date: 10/01/97


      On Solaris (Sparc 20). if you call the
      following sequence, the frame will move
      upward.

      assume f is a Frame.

      Rectangle rect = f.getBounds();
      f.setBounds(rect.x, rect.y, rect.width+10, rect.height);


      This seems to happen only if the code is executed
      after the frame is moved by "hand"
      The error only occurs the first time if the code
      is executed consecutive times.


      company - Bay Networks , email - ###@###.###
      ======================================================================

            duke J. Duke
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: