|
39 | 39 | /* |
40 | 40 | * @test |
41 | 41 | * @key headful |
42 | | - * @bug 4112270 8264102 |
| 42 | + * @bug 4112270 8264102 8329756 |
43 | 43 | * @library /java/awt/regtesthelpers |
44 | 44 | * @build PassFailJFrame |
45 | 45 | * @summary Test Keyboard Navigation in JTable. |
@@ -178,7 +178,7 @@ public static void main(String[] args) throws Exception { |
178 | 178 | 1. Refer the below keyboard navigation specs |
179 | 179 | (referenced from bug report 4112270). |
180 | 180 | 2. Check all combinations of navigational keys mentioned below |
181 | | - and verifying each key combinations against the spec defined. |
| 181 | + and verify each key combination against the spec defined. |
182 | 182 | If it does, press "pass", otherwise press "fail". |
183 | 183 |
|
184 | 184 | """; |
@@ -270,24 +270,19 @@ public static String getOSSpecificInstructions() { |
270 | 270 | up/down |
271 | 271 | Left/Right Arrow - Deselect current selection; |
272 | 272 | move focus one cell left/right |
273 | | - FN+Up Arrow/FN+Down Arrow - Deselect current selection; |
| 273 | + fn+Up/Down Arrow - Deselect current selection; |
274 | 274 | scroll up/down one JViewport view; |
275 | 275 | first visible cell in current column gets focus |
276 | | - Control-FN+Up Arrow/FN+Down Arrow - Deselect current selection; |
277 | | - move focus and view to |
278 | | - first/last cell in current row |
279 | | - F2 - Allows editing in a cell containing information without |
| 276 | + fn - Allows editing in a cell containing information without |
280 | 277 | overwriting the information |
281 | 278 | Esc - Resets the cell content back to the state it was in |
282 | 279 | before editing started |
283 | | - Ctrl+A, Ctrl+/ - Select All |
284 | | - Ctrl+\\ - Deselect all |
| 280 | + Cmd+A - Select All |
285 | 281 | Shift-Up/Down Arrow - Extend selection up/down one row |
286 | 282 | Shift-Left/Right Arrow - Extend selection left/right one column |
287 | | - FN-Shift Up/Down Arrow - Extend selection to top/bottom of column |
288 | | - Shift-PageUp/PageDown - Extend selection up/down one view and scroll |
289 | | - table |
290 | | - """; |
| 283 | + Ctrl-Shift Up/Down Arrow - Extend selection to top/bottom of row |
| 284 | + Ctrl-Shift Left/Right Arrow - Extend selection to first/last of column |
| 285 | + """; |
291 | 286 | String osName = System.getProperty("os.name").toLowerCase(); |
292 | 287 | if (osName.startsWith("mac")) { |
293 | 288 | return MAC_SPECIFIC; |
|
0 commit comments