class JXPanel extends JPanel implements AlphaPaintable, BackgroundPaintable, Scrollable {

    @Override
    public void setBackgroundPainter(Painter p) {
        Painter old = getBackgroundPainter();
        if (old instanceof AbstractPainter) {
            ((AbstractPainter<?>) old).removePropertyChangeListener(painterChangeListener);
        }
        backgroundPainter = p;
        if (backgroundPainter instanceof AbstractPainter) {
            ((AbstractPainter<?>) backgroundPainter).addPropertyChangeListener(getPainterChangeListener());
        }
        firePropertyChange("backgroundPainter", old, getBackgroundPainter());
        repaint();
    }

    public  JXPanel();
    public  JXPanel(boolean isDoubleBuffered);
    public  JXPanel(LayoutManager layout);
    public  JXPanel(LayoutManager layout, boolean isDoubleBuffered);

}