I\'m trying to draw Images with Graphics2D on JFrame. But this code only displays blank background. How to do that?
Java Version: SE-1.6 IDE: Ecl
Another way can be seen here. It can be accomplished by
frame.setBackground(new Color(0, 0, 0, 0)); .... setOpaque(false); //for the JPanel being painted on.