public DialogBackPanel(JDialog dialog) {
			this.cmp = (JComponent) dialog.getContentPane();

			setOpaque(false);
			setLayout(null);
			add(cmp);
			add(title);
			add(info);

			cmp.setBorder(BorderFactory.createLineBorder(Color.GREEN, 5));
			title.setFont(new Font("SquareFont", Font.PLAIN, 26));
			title.setForeground(Color.GREEN);
			info.setForeground(Color.GREEN);

			title.setText(dialog.getTitle());
			title.setSize(title.getPreferredSize());
			info.setSize(info.getPreferredSize());
			cmp.setSize(cmp.getPreferredSize());
		}