Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Himesh Sharma
Added: Feb 10, 2021 3:04 PM
Views: 4
Tags: cardlayout
  1. CardLayout cl = (CardLayout) (jPanel1.getLayout());
  2. cl.show(jPanel1, "LoginPanel");