How to generate multiple number of JTextFiled according to number Input?

How to generate multiple number of JTextFiled according to number Input?

for ex: I have JTextFiled and button. If i give 5 as input and press the button 5 more JtextField should be generated