g2.setComposite(
        AlphaComposite.getInstance(
               AlphaComposite.SRC_OVER,1.0f));

Figure 6