I extended the JButton class to make my own custom version, but now I don't know how to make the JLabel appear over it. In a normal button, the JLabel is painted on top of it, but I don't know how to replicate that behavior. Any idea how?

This is the paintComponent method that I overrode:

```
@Override
protected void paintComponent(Graphics g){
    super.paintComponent(g);
    boolean isSelected = getModel().isPressed();
    Color topColor =  !isSelected ? BUTTON_TOP_GRADIENT : BUTTON_TOP_GRADIENT.darker();
    Color bottomColor =  !isSelected ? BUTTON_BOTTOM_GRADIENT : BUTTON_BOTTOM_GRADIENT.darker();

    Graphics2D g2 = (Graphics2D)g.create();
    RenderingHints qualityHints =
            new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    qualityHints.put(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY);
    g2.setRenderingHints(qualityHints);
    g2.setPaint(new GradientPaint(
            new Point(0, 0), 
            topColor, 
            new Point(0, getHeight()), 
            bottomColor));
    g2.fillRoundRect(0, 0, getWidth(), getHeight(), BUTTON_CORNER_RADIUS, BUTTON_CORNER_RADIUS);
    g2.setColor(Color.BLACK);
    g2.dispose();

    // Where I need to draw the JLabel

}

```