// Path: src/lib/jxbrowser-5/demo/src/com/teamdev/jxbrowser/chromium/demo/resources/Resources.java
// public class Resources {
// 
//     public static ImageIcon getIcon(String fileName) {
//         return new ImageIcon(Resources.class.getResource(fileName));
//     }
// }


import com.teamdev.jxbrowser.chromium.ProductInfo;
import com.teamdev.jxbrowser.chromium.demo.resources.Resources;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.Calendar;
/*
 * Copyright (c) 2000-2015 TeamDev Ltd. All rights reserved.
 * TeamDev PROPRIETARY and CONFIDENTIAL.
 * Use is subject to license terms.
 */

package com.teamdev.jxbrowser.chromium.demo;



/**
 * @author TeamDev Ltd.
 */
public class AboutDialog extends JDialog {
    public AboutDialog(Frame owner) {
        super(owner, "About JxBrowser Demo", true);
        initContent();
        initKeyStroke();
        setResizable(false);
        pack();
        setSize(250, getHeight());
        setLocationRelativeTo(owner);
        setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    }

    private void initContent() {
        JLabel icon = new JLabel();
// Path: src/lib/jxbrowser-5/demo/src/com/teamdev/jxbrowser/chromium/demo/resources/Resources.java
// public class Resources {
// 
//     public static ImageIcon getIcon(String fileName) {
//         return new ImageIcon(Resources.class.getResource(fileName));
//     }
// }


// Path: src/lib/jxbrowser-5/demo/src/com/teamdev/jxbrowser/chromium/demo/AboutDialog.java
import com.teamdev.jxbrowser.chromium.ProductInfo;
import com.teamdev.jxbrowser.chromium.demo.resources.Resources;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.Calendar;

/*
 * Copyright (c) 2000-2015 TeamDev Ltd. All rights reserved.
 * TeamDev PROPRIETARY and CONFIDENTIAL.
 * Use is subject to license terms.
 */

package com.teamdev.jxbrowser.chromium.demo;



/**
 * @author TeamDev Ltd.
 */
public class AboutDialog extends JDialog {
    public AboutDialog(Frame owner) {
        super(owner, "About JxBrowser Demo", true);
        initContent();
        initKeyStroke();
        setResizable(false);
        pack();
        setSize(250, getHeight());
        setLocationRelativeTo(owner);
        setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    }

    private void initContent() {
        JLabel icon = new JLabel();
        icon.setIcon(Resources.getIcon("jxbrowser32x32.png"));