Re: RFR: 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key. [v2]

2023-07-10 Thread Sergey Bylokhov
On Fri, 23 Jun 2023 03:14:21 GMT, Prasanta Sadhukhan wrote: >> If a JTable is wrapped in JLayer and first row is selected and VK_PAGE_DOWN >> is pressed, the last row of the table is selected instead of the next row >> after current viewport. >> This is because table.getParent.getSize() return

Re: RFR: 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key. [v2]

2023-07-10 Thread Phil Race
On Fri, 23 Jun 2023 03:14:21 GMT, Prasanta Sadhukhan wrote: >> If a JTable is wrapped in JLayer and first row is selected and VK_PAGE_DOWN >> is pressed, the last row of the table is selected instead of the next row >> after current viewport. >> This is because table.getParent.getSize() return

Re: RFR: 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key. [v2]

2023-07-05 Thread Damon Nguyen
On Fri, 23 Jun 2023 03:14:21 GMT, Prasanta Sadhukhan wrote: >> If a JTable is wrapped in JLayer and first row is selected and VK_PAGE_DOWN >> is pressed, the last row of the table is selected instead of the next row >> after current viewport. >> This is because table.getParent.getSize() return

Re: RFR: 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key. [v2]

2023-06-30 Thread Abhishek Kumar
On Fri, 23 Jun 2023 03:14:21 GMT, Prasanta Sadhukhan wrote: >> If a JTable is wrapped in JLayer and first row is selected and VK_PAGE_DOWN >> is pressed, the last row of the table is selected instead of the next row >> after current viewport. >> This is because table.getParent.getSize() return

Re: RFR: 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key. [v2]

2023-06-22 Thread Prasanta Sadhukhan
On Thu, 22 Jun 2023 21:17:53 GMT, Sergey Bylokhov wrote: >> Prasanta Sadhukhan has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Formatting > > test/jdk/javax/swing/JTable/JLayerTableTest.java line 57: > >> 55: @Override publi

Re: RFR: 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key. [v2]

2023-06-22 Thread Prasanta Sadhukhan
> If a JTable is wrapped in JLayer and first row is selected and VK_PAGE_DOWN > is pressed, the last row of the table is selected instead of the next row > after current viewport. > This is because table.getParent.getSize() returns the whole table size > whereas it should be the JViewport which