ImagePropertiesDialog(Page page0) {

		super(JOptionPane.getFrameForComponent(page0), "Properties", true);
		String s = Modeler.getInternationalText("Properties");
		if (s != null)
			setTitle(s);
		setDefaultCloseOperation(DISPOSE_ON_CLOSE);

		this.page = page0;

		setLocation(200, 200);
		Container container = getContentPane();

		JTabbedPane tabbedPane = new JTabbedPane();
		container.add(BorderLayout.CENTER, tabbedPane);

		Box parent = new Box(BoxLayout.X_AXIS);
		parent.setBorder(new EmptyBorder(10, 10, 10, 10));
		s = Modeler.getInternationalText("GeneralTab");
		tabbedPane.addTab(s != null ? s : "General", parent);

		Box child = new Box(BoxLayout.Y_AXIS);
		parent.add(child);
		parent.add(Box.createHorizontalStrut(10));

		s = Modeler.getInternationalText("Protocol");
		JLabel label = new JLabel((s != null ? s : "Protocol") + ":");
		child.add(label);
		child.add(Box.createVerticalStrut(10));

		s = Modeler.getInternationalText("FileType");
		label = new JLabel((s != null ? s : "Type") + ":");
		child.add(label);
		child.add(Box.createVerticalStrut(10));

		s = Modeler.getInternationalText("PageLocation");
		label = new JLabel((s != null ? s : "Location") + ":");
		child.add(label);
		child.add(Box.createVerticalStrut(10));

		s = Modeler.getInternationalText("FileSize");
		label = new JLabel((s != null ? s : "Size") + ":");
		child.add(label);
		child.add(Box.createVerticalStrut(10));

		s = Modeler.getInternationalText("LastModified");
		label = new JLabel((s != null ? s : "Last Modified") + ":");
		child.add(label);
		child.add(Box.createVerticalStrut(10));

		s = Modeler.getInternationalText("ImageDimension");
		label = new JLabel((s != null ? s : "Dimension") + ":");
		child.add(label);
		child.add(Box.createVerticalStrut(10));

		child = new Box(BoxLayout.Y_AXIS);
		parent.add(child);

		protocolLabel = new JLabel("Unknown");
		child.add(protocolLabel);
		child.add(Box.createVerticalStrut(10));

		typeLabel = new JLabel("Unknown");
		child.add(typeLabel);
		child.add(Box.createVerticalStrut(10));

		urlField = new PastableTextField("Unknown");
		urlField.setEditable(false);
		urlField.setBackground(typeLabel.getBackground());
		urlField.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));
		child.add(urlField);
		child.add(Box.createVerticalStrut(10));

		sizeLabel = new JLabel("Unknown");
		child.add(sizeLabel);
		child.add(Box.createVerticalStrut(10));

		timeLabel = new JLabel("Unknown");
		child.add(timeLabel);
		child.add(Box.createVerticalStrut(10));

		dimensionLabel = new JLabel("Unknown");
		child.add(dimensionLabel);
		child.add(Box.createVerticalStrut(10));

		JPanel p = new JPanel(new FlowLayout(FlowLayout.RIGHT));

		s = Modeler.getInternationalText("CloseButton");
		JButton button = new JButton(s != null ? s : "Close");
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				ImagePropertiesDialog.this.dispose();
			}
		});
		p.add(button);

		container.add(BorderLayout.SOUTH, p);

	}