Module java.desktop

Class BorderUIResource.LineBorderUIResource

    • Constructor Detail

      • LineBorderUIResource

        public LineBorderUIResource​(Color color)
        Constructs a LineBorderUIResource.
        Parameters:
        color - the color for the border
      • LineBorderUIResource

        @ConstructorProperties({"lineColor","thickness"})
        public LineBorderUIResource​(Color color,
                                    int thickness)
        Constructs a LineBorderUIResource.
        Parameters:
        color - the color for the border
        thickness - the thickness of the border