public static JButton createTabbButton(String text) {
        JButton ret = new JButton(text);
        ret.setBorder(null);
        if (text == null) {
            ret.setIcon(UIManager.getIcon("InternalFrame.paletteCloseIcon"));
        }
        ret.setFocusPainted(false);
        ret.setContentAreaFilled(false);
        ret.setBorderPainted(true);
        ret.setBackground(null);
        ret.setHorizontalTextPosition(SwingConstants.LEFT);
        ret.setMargin(new Insets(0, 0, 0, 0));
        return ret;
    }
This provide the overall frame and top level ui elements
ConstraintLayoutExamples/CycleEditor/src/com/google/androidstudio/motionlayoutcycles/MainPanel.java