hei,, its very simple...

i have a login frame in my app,the question is..
how will i show the main frame after i clicked the "Ok" button??? thanks...