<AWT Dev>  RFR for 8151714: [TEST] add a manual test test for JOptionPane dialog multires. icons
alexander.v.stepanov at oracle.com
Fri Mar 11 14:42:50 UTC 2016
I'm not sure if we can control the location of the dialogs shown (and of
course we don't know the location of the icons on them), can we?
It is clear that the internal dialogs are located somewhere inside of
the internal pane, but this is not true for the others.
So (probably I'm wrong) there is seemingly no an elegant way to predict
the location of the icons, and simple iteration over the screen
coordinates (checking for the pixel color) looks not very reliable.
On 3/11/2016 5:24 PM, Semyon Sadetsky wrote:
> Hi Alexandr,
> Can the test be automated? It is possible to read color from the
> screen with AWT Robot.
> On 3/11/2016 4:53 PM, Alexander Stepanov wrote:
>> Could you please review the fix
>> - just a single test added.
More information about the awt-dev