开发者

Switching from one view to another : Java

I have one .java file in which I have a form for user registration and I have another page on another .java file that shoul开发者_JAVA技巧d appear (and previous should disappear) when user clicks on next .... could anybody provide me any guidance.

Thanks a lot efforts appreciated


Use a CardLayout


My guess! you haven't tried setVisible() method.


Remove old content from container and add the new content. Then call revalidate() and repaint().


very simple by implements Splash Screen logics, you create a JDialog (one .java) and only if everything passed from one .java then shows something from another .java

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜