Here in your main method, you're adding an instance of the Customer class to a JTabbedPane and then adding that JTabbedPane to the JFrame:
Java Code:
public static void main(String[] args)
{...
Type: Posts; User: priya456
Here in your main method, you're adding an instance of the Customer class to a JTabbedPane and then adding that JTabbedPane to the JFrame:
Java Code:
public static void main(String[] args)
{...