How to determine the background colour of the textbox or text field


In java desktop application ,how to find the background color of the text field.



Hi @nagarajunani

I am not sure how to check for the color, but you could try to see the available properties in UiExplorer. I found out that for java there is this javaState property that might have the information you need.

For example, and active field in my java app has this kind of extra information attached:

How to check whether a java window exists after a click

This is the max property displayed when I selected through UiExplorer, but I can’t find the colour property. The background color of the textfield will be either Yellow or white.

Thank you in advance.


What is the functional meaning behind the color? What does it signify that the cell is yellow or white?
Could you provide similar selector info for the white cell?