When I record a script, I noticed that the description of 2 objects in xml scripts are identical:
<component class="javax.swing.JScrollPane" id="JScrollPane Instance 2" index="0" parent="JSplitPane Instance" window="main-window" /> <component class="javax.swing.JScrollPane" id="JScrollPane Instance 4" index="0" parent="JSplitPane Instance" window="main-window" />
I doubt that this is expected behavior. Can anyone confirm?
That would be a bug. Usually recording will make use of an existing reference if it matches, to avoid making duplicate references.
the ids are different, one has a '2' and the other one a '4' in it. So, you should be ok with that.
Log in to post a comment.
When I record a script, I noticed that the description of 2 objects in xml scripts are identical:
<component class="javax.swing.JScrollPane" id="JScrollPane Instance 2" index="0" parent="JSplitPane Instance" window="main-window" />
<component class="javax.swing.JScrollPane" id="JScrollPane Instance 4" index="0" parent="JSplitPane Instance" window="main-window" />
I doubt that this is expected behavior. Can anyone confirm?
That would be a bug. Usually recording will make use of an existing reference if it matches, to avoid making duplicate references.
the ids are different, one has a '2' and the other one a '4' in it. So, you should be ok with that.