No more design tab

Alright, so I accidentally hit ctrl z and undid my code but when i redid it it doesnt have the design option anymore and now just has a bunch of code in the initComponents method.
is there a way to re-put the stuff in the design tab w/out redoing my project?

Via project history you can undo modifications.