Initialize sp.
You must never have initialized it.
Type: Posts; User: javapenguin
Initialize sp.
You must never have initialized it.
Did you set the textAreas and JButtons to be visible too?
Also, I think I found a typo:
frame[1].setVisible(true);
try frame[i].setVisible(true);.
Also, I believe you could get away...
I believe you have to set the components to be visible too with setVisible();