public ImageFrame(Frame frame, int x, int y, int num) {
        setVisible(false);
        setResizable(false);
        setUndecorated(true);
        this.frame = frame;
        this.x = x; this.y = y;
        setBounds(x, y, width, height);
        this.num = num;
        dragger.title.setForeground(Color.DARK_GRAY);
        dragger.title.setText(num + "");
        dragger.setBounds(0, 0, width, draggerH);
        dragger.setVisible(true);
        add(dragger);
    }