How to change a drop down name, based on previous drop down
<p>How to change a drop down name, based on previous drop down in JAVA.
I am new to java so .. not very familiar with it. so asking this question. </p>

<p>There are many questions in this forum discussing on "how to change the contents of one drop down based on previous selection." This question is different. </p>

<p>For example say, </p>

<p>in the first button, say you have asked, which product you own.</p>

<p>If the user selects a game, which is only developed in english.</p>

<p>The second dropdown should be named as the location/country.</p>

<p>If the user selects an Operating system, which has multi lang support. then the next button should be named only as Country.</p>

<p>How could this be done?</p>
