protected void paintComponent(Graphics g) {
        Graphics2D g2d = (Graphics2D) g.create();
        g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        if(static_image != null && focus_image != null) {
            if(isFocusOwner()) {
                g2d.drawImage(focus_image, 0, 0, width, height, null);
                repaint();
            }else g2d.drawImage(static_image, 0, 0, width, height, null);
        }
        if(isFocusOwner()) setForeground(focus_color);
        else setForeground(static_color);
        g2d.dispose();
        super.paintComponent(g);
    }