Is it possible to have more than 1 jframe in a applcation

i have 2 class

Class1 - Cotains Jframe For class2?
anyways i can make it where you click a button and a differnt jframe pops up?