How can I have get the layout in picture ? Current issue I am facing is that I am able see the dropdown 1 and text box but I do not see the dropdown 2 and text box aligned to it displayed.
private final JComboBox firstComboBox;
private final JComboBox secondComboBox;
private final JTextField textField;
private final JTextField textField2;
private final JPanel cards = new JPanel(new CardLayout());
private final JPanel first = new JPanel();
private final JPanel second = new JPanel();
public Layout() {
super(BoxLayout.X_AXIS);
Vector<Enum> v = new Vector<Enum>();
firstComboBox = new JComboBox(v);
secondComboBox = new JComboBox(v);
first.add(firstComboBox);
second.add(secondComboBox);
textField = new JTextField(50);
textField.setDocument(new JTextFieldLimit(50));
cards.add(first);
cards.add(second);
add(cards);
first.add(textField, "NORMAL");
first.add(new JPanel(), "EXISTS");
textField2 = new JTextField(50);
textField2.setDocument(new JTextFieldLimit(50));
second.add(textField2, "NORMAL");
second.add(new JPanel(), "EXISTS");
}

I copied your code into my IDE. The code was so confusing to me that I cleared the screen and started from scratch.
Here's the GUI I came up with, based on your drawing.
I used a
GridBagLayoutas I suggested in my comments.Here's the complete, no changes needed, absolutely runnable code.