/** * Sets the panel's border. * * @param border the border to set * * @see JComponent#setBorder(Border) */ public final void setBorder(Border border) { getPanel().setBorder(border); }
/** * Sets the panel's opaque state. * * @param b true for opaque, false for non-opaque * * @see JComponent#setOpaque(boolean) * * @since 1.1 */ public final void setOpaque(boolean b) { getPanel().setOpaque(b); }
/** * Sets the panel's background color. * * @param background the color to set as new background * * @see JComponent#setBackground(Color) */ public final void setBackground(Color background) { getPanel().setBackground(background); }
/** * Sets the panel's background color. * * @param background the color to set as new background * * @see JComponent#setBackground(Color) */ public final void setBackground(Color background) { getPanel().setBackground(background); }
/** * Sets the panel's border. * * @param border the border to set * * @see JComponent#setBorder(Border) */ public final void setBorder(Border border) { getPanel().setBorder(border); }
/** * Sets the panel's opaque state. * * @param b true for opaque, false for non-opaque * * @see JComponent#setOpaque(boolean) * * @since 1.1 */ public final void setOpaque(boolean b) { getPanel().setOpaque(b); }