how to get the components from the jpanel in order they are placed. jpanel.getcomponents() is giving me the controls present on it but it is giving in different order. e.g. it is giving me 5 labels,then 2 textboxes etc. i am plaing label with textbox so it should give me one label , then one textfield then another. please help me. i m stuck.
thanks in advance.