can anyone tell me how to attach one JFrame to another one??....


I mean if i have a frame including a button and when i press that button it should take me to the next frame....