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

Tabbing through components stops if next component is off screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 1.1.8
    • 1.1.6
    • client-libs
    • 1.1.8
    • sparc
    • solaris_2.5.1
    • Verified

    Backports

      Description



        Name: mf23781 Date: 07/14/98


        The following testcase can be used to show the problem

        import java.awt.*;
        import java.awt.event.*;

        public class traverse extends Frame
        {
            public traverse()
            {
                Frame f = new Frame("Focus test");
                Panel p =new Panel(new FlowLayout());
                for (int i=0; i<6; i++)
                    p.add(new Button("Button "+i));
                f.add(p);
                f.pack();
                f.setVisible(true);
            }

            static public void main(String args[])
            {
                new traverse();
            }
        }

        Compile and run the application.
        You can use the TAB key and SHIFT TAB to traverse forwards and
        backwards through the buttons (wrapping around at each end)
        Make the frame slightly smaller so that the last componenet
        disappears off the screen.
        Tabbing now stops at the component before the one off the screen.


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

        Attachments

          Issue Links

            Activity

              People

                dmendenhsunw David Mendenhall (Inactive)
                miflemi Mick Fleming
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: