import javax.swing.*;
import java.awt.*;

public class BlueBorderNotPresent {

    private static JFrame frame;
    private static JTextField jTextField;
    private static JTextArea jTextArea;

    public static void main(String[] args) throws Exception{
        //uimanager set look and feel
        UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel");
        SwingUtilities.invokeAndWait(()->{
            frame = new JFrame("Test Frame");
            frame.setBounds(100,100,400,400);
            frame.setVisible(true);
            frame.setLayout(new BorderLayout());

            jTextField = new JTextField("00");

            jTextArea = new JTextArea("There is a jTextField at the bottom \n see if the border changes when the focus changes");
            frame.add(jTextArea, BorderLayout.NORTH);

            frame.add(jTextField, BorderLayout.SOUTH);
        });
    }
}
