}
}//GEN-LAST:event_jComboBox1ActionPerformed
public void listAllElements()
{
VMObject vm =vmobject;
loading=true;
jComboBox1.removeAllItems();
for (int i=0;i<vm.getComponentCount();i++)
{
Component comp = vm.getComponent(i);
if (comp instanceof Element)
{
Element element=(Element)comp;