public void paintComponent(Graphics g){
        BufferedImage image = null;
        
        if(data.orientation == 0){
            if(focused){
                image = topBgImageFocused;
            }
            else{
                image = topBgImage;
            }
        }
        else if(data.orientation == 1){
            if(focused){
                image = bottomBgImageFocused;
            }
            else{
                image = bottomBgImage;
            }
            
        }
        
        g.drawImage(image, 0, 0, null);
        super.paintComponent(g);
    }