Hi, I want to make the background of the JFRAME and image??? but everytime the background image paints over the buttons???? please help!

Place your components on a JPanel instead and override the paintComponent method of that JPanel to paint the image

ImagePanel = new javax.swing.JPanel(){
    Image img = new ImageIcon(getClass().getResource(

    public void paintComponent(Graphics g){
        g.drawImage(img, 0, 0, getWidth(), getHeight(), this);

thank u very much, that part is working ...now i dont know how to reposition the buttons......................