I am trying to address JavaObject (JPanel) by means of descriptive programming (DP)
JavaWindow("label:=some label").JavaDialog("title:=some title").JavaObject([descriptor])
I checked existence of JavaWindow(...).JavaDialog(...)
block and it returned True, but all I did to get JavaObject was in vain (tried different descriptors and their combination like "attached text", "toolkit class", "text") JavaObject did return False on .Exist(0)
check
When I added JPanel to object repository (OR) and tried to access it by means of OR everything was fine (mistake on the pic OR & DP highlights in code misplaced, and they are pointed the right way on the Watch panel):
Does anyone know is it possible to address JavaObject by DP?