Using a Look and Feel for one component and another Look and Feel for another component

Main.java:

import javax.swing.plaf.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import java.awt.*;
import java.io.*; 
  
public class Main extends JFrame
{
   public Main() throws Exception {
      getContentPane().setLayout(new BorderLayout(30, 30)); 
 
      Vector v = new Vector();
      v.addElement("item 1");
      v.addElement("item 2");
      v.addElement("item 3");
 
      JPanel panel1 = new JPanel(new FlowLayout(FlowLayout.LEFT));
      panel1.add(new JButton("Button"));
      panel1.add(new JCheckBox("CheckBox"));
      panel1.add(new JTextField(10));
      panel1.add(new JComboBox(v));
 
      JPanel panel2 = new JPanel(new FlowLayout(FlowLayout.LEFT));
      panel2.add(new JButton("Button"));
      panel2.add(new JCheckBox("CheckBox"));
      panel2.add(new JTextField(10));
      panel2.add(new JComboBox(v));
 
      getContentPane().add(BorderLayout.NORTH, panel1);
      getContentPane().add(BorderLayout.SOUTH, panel2);
 
      UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
      SwingUtilities.updateComponentTreeUI(panel1);
 
      UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
      SwingUtilities.updateComponentTreeUI(panel1);
 
      pack();
 
      addWindowListener(new WindowAdapter() {
         public void windowClosing(WindowEvent e) {
            System.exit(0);
         }
      });
   }
 
   public static void main(String args[]) throws Exception {
      Main main = new Main();
      //main.setSize(300, 300);
      main.setVisible(true);
   }
}