Re: RFR: 8332550: [macos] Voice Over: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location [v2]

2024-06-06 Thread Abhishek Kumar
On Thu, 6 Jun 2024 07:28:59 GMT, Alexander Zuev wrote: >> As per the spec, getLocationOnScreen() API can throw ICSE and it should be >> right to catch this exception. Moreover, I tried checking with the >> JTableHeader's visibility, still got the ICSE while performing the testing. >> So, I thi

Re: RFR: 8332550: [macos] Voice Over: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location [v2]

2024-06-06 Thread Alexander Zuev
On Thu, 6 Jun 2024 05:11:41 GMT, Abhishek Kumar wrote: >> src/java.desktop/share/classes/javax/swing/table/JTableHeader.java line 1368: >> >>> 1366: try { >>> 1367: parentLocation = parent.getLocationOnScreen(); >>> 1368: } catch (I

Re: RFR: 8332550: [macos] Voice Over: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location [v2]

2024-06-05 Thread Abhishek Kumar
On Wed, 5 Jun 2024 22:27:43 GMT, Alisen Chung wrote: >> Abhishek Kumar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> copyright year update > > src/java.desktop/share/classes/javax/swing/table/JTableHeader.java line 1368: > >> 1366:

Re: RFR: 8332550: [macos] Voice Over: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location [v2]

2024-06-05 Thread Alisen Chung
On Wed, 5 Jun 2024 16:14:11 GMT, Abhishek Kumar wrote: >> "java.awt.IllegalComponentStateException: component must be showing on the >> screen to determine its location" is thrown when getLocationOnScreen method >> is invoked for JTableHeader while testing JFileChooser demo. It seems that >> i

Re: RFR: 8332550: [macos] Voice Over: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location [v2]

2024-06-05 Thread Abhishek Kumar
> "java.awt.IllegalComponentStateException: component must be showing on the > screen to determine its location" is thrown when getLocationOnScreen method > is invoked for JTableHeader while testing JFileChooser demo. It seems that in > getLocationOfScreen method we are trying to access the pare