Class FlatRoundBorder

    • Field Detail

      • arc

        protected int arc
      • roundRect

        protected java.lang.Boolean roundRect
        Since:
        2
    • Constructor Detail

      • FlatRoundBorder

        public FlatRoundBorder()
    • Method Detail

      • paintBorder

        public void paintBorder​(java.awt.Component c,
                                java.awt.Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
        Specified by:
        paintBorder in interface javax.swing.border.Border
        Overrides:
        paintBorder in class FlatBorder
      • getArc

        protected int getArc​(java.awt.Component c)
        Description copied from class: FlatBorder
        Returns the (unscaled) arc diameter of the border corners.
        Overrides:
        getArc in class FlatBorder
      • isMacStyleSpinner

        private boolean isMacStyleSpinner​(java.awt.Component c)