I am creating a class which extends `JPanel`.There are several textareas and drop downs which I have added in that panel using `GridBagConstraints`. Now I want to move one field to another using tab key of keyboard. I also want to mention that previously the tab key was expanding the textareas.

That is why I wrote this line: `restuarantLocation.setTabSize(0);` Now it stopped expanding.

But I do not know how can i make work the tab key? Please help.