/openjdk9/jdk/test/javax/swing/JWindow/ShapedAndTranslucentWindows/ |
H A D | PerPixelTranslucentSwing.java | 47 JButton north; field in class:PerPixelTranslucentSwing 66 north = new JButton("North"); 67 contentPane.add(north, BorderLayout.NORTH); 78 north.requestFocus(); 86 Rectangle bounds = north.getBounds(); 87 Point loc = north.getLocationOnScreen();
|
H A D | TranslucentWindowClickSwing.java | 51 private Component north; field in class:TranslucentWindowClickSwing 78 north = new JTextField("North"); 79 north.addMouseListener(new MouseAdapter() { 83 window.add(north, BorderLayout.NORTH); 91 ls = north.getLocationOnScreen(); 92 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 0);
|
H A D | SetShapeAndClickSwing.java | 57 Component south, center, north; field in class:SetShapeAndClickSwing 103 north = new JTextField("North"); 104 north.addMouseListener(new MouseAdapter() { 110 window.add(north, BorderLayout.NORTH); 121 ls = north.getLocationOnScreen(); 122 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 1); 133 ls = north.getLocationOnScreen(); 134 y = ls.y + north.getHeight() / 2;
|
H A D | TranslucentJComboBox.java | 53 JPanel north; field in class:TranslucentJComboBox 76 north = new JPanel(); 77 contentPane.add(north, BorderLayout.NORTH); 102 Point ls = north.getLocationOnScreen(); 103 robot.mouseMove(ls.x + north.getWidth()/2, ls.y + north.getHeight()/2);
|
/openjdk9/jdk/test/java/awt/Window/ShapedAndTranslucentWindows/ |
H A D | TranslucentWindowClick.java | 51 private Component north; field in class:TranslucentWindowClick 95 north = new TextField("North"); 96 north.addMouseListener(new MouseAdapter() { 100 window.add(north, BorderLayout.NORTH); 113 ls = north.getLocationOnScreen(); 114 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 0);
|
H A D | ShapedTranslucentWindowClick.java | 55 Component south, center, north; field in class:ShapedTranslucentWindowClick 73 addListeners(north, northFlags); 83 north = new TextField("North Text Field"); 93 window.add(north, BorderLayout.NORTH); 116 ls = north.getLocationOnScreen(); 117 checkClickAndType(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, northFlags); 128 ls = north.getLocationOnScreen(); 129 y = ls.y + north.getHeight() / 2;
|
H A D | SetShapeAndClick.java | 59 Component south, center, north; field in class:SetShapeAndClick 123 north = new TextField("North"); 124 north.addMouseListener(new MouseAdapter() { 130 window.add(north, BorderLayout.NORTH); 147 ls = north.getLocationOnScreen(); 148 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 1); 159 ls = north.getLocationOnScreen(); 160 y = ls.y + north.getHeight() / 2;
|
H A D | SetShapeDynamicallyAndClick.java | 58 Component south, center, north; field in class:SetShapeDynamicallyAndClick 116 north = new TextField("North"); 117 north.addMouseListener(new MouseAdapter() { 123 window.add(north, BorderLayout.NORTH); 145 ls = north.getLocationOnScreen(); 146 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 1); 157 ls = north.getLocationOnScreen(); 158 y = ls.y + north.getHeight() / 2;
|
H A D | TranslucentChoice.java | 55 Component north; field in class:TranslucentChoice 93 north = new Button("north"); 94 window.add(north, BorderLayout.NORTH);
|
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/ |
H A D | BorderLayout.java | 33 * north, south, east, west, and center. 151 * north portion of the border layout. 159 Component north; field in class:BorderLayout 208 * north, south, east, west or center. 221 * north, south, east, west or center. 228 * north, south, east, west or center. 235 * north, south, east, west or center. 242 * The north layout constraint (top of container). 452 north = comp; 486 } else if (comp == north) { [all...] |