java - how to remove a pane and add one on top of the old pane, after clicking on a button? -


this question has answer here:

i need cannot done tabbed pane or cardlayout... need after clicking on login , shows new pane information of username... , erases login buttons, put instead logout option or update info option.

currently have this:

enter image description here

and button "enter" changes "update" after logged in, , logout button there... in reality, need first login window, , after having signed in, logout window update options...

is there way hide elements on same pane or there way add new pane in front of old one?

i don't believe code helpful here since doing using netbeans ide , in java , , dragging panes, etc, generates code itself...


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -