Examples of HelpPanel


Examples of com.googlecode.duplicatedetector.view.HelpPanel

    Window parent = SwingUtilities.getWindowAncestor(comp);
    JDialog dialog = new JDialog(parent);
    dialog.setTitle(title);
    dialog.setModal(true);
    dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    dialog.setContentPane(new HelpPanel(url));
    dialog.pack();
    dialog.setMinimumSize(dialog.getSize());
    dialog.setLocationRelativeTo(parent);
    dialog.setVisible(true);
  }
View Full Code Here

Examples of com.jcloisterzone.ui.panel.HelpPanel

        setTitle(_("Controls"));
        centerDialog(480, 300);
        contentPanel.setBounds(0, 0, 480, 30);
        contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
        contentPanel.setLayout(new BorderLayout());
        getContentPane().add(new HelpPanel());

        setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
        setResizable(false);
        setVisible(true);
    }
View Full Code Here

Examples of com.jcloisterzone.ui.panel.HelpPanel

    }

    public void showUpdateIsAvailable(final AppUpdate appUpdate) {
        if (isVisible() && startPanel != null) {
            Color bg = new Color(0.2f, 1.0f, 0.0f, 0.1f);
            HelpPanel hp = startPanel.getHelpPanel();
            hp.removeAll();
            hp.setOpaque(true);
            hp.setBackground(bg);
            Font font = new Font(null, Font.BOLD, 14);
            JLabel label;
            label = new JLabel(_("JCloisterZone " + appUpdate.getVersion() + " is available for download."));
            label.setFont(font);
            hp.add(label, "wrap");
            label = new JLabel(appUpdate.getDescription());
            hp.add(label, "wrap");

            final JTextField link = new JTextField(appUpdate.getDownloadUrl());
            link.setEditable(false);
            link.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
            link.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseEntered(MouseEvent e) {
                    link.setSelectionStart(0);
                    link.setSelectionEnd(link.getText().length());
                }

                @Override
                public void mouseExited(MouseEvent e) {
                    link.setSelectionStart(0);
                    link.setSelectionEnd(0);
                }
            });

            hp.add(link, "wrap, growx");
            hp.repaint();
        } else {
            //probably it shouln't happen
            System.out.println("JCloisterZone " + appUpdate.getVersion() + " is avaiable for download.");
            System.out.println(appUpdate.getDescription());
            System.out.println(appUpdate.getDownloadUrl());
View Full Code Here

Examples of de.sistemich.mafrasi.stopmotion.gui.modules.help.HelpPanel

   */
  private static final long serialVersionUID = 1L;

  public HelpModule(){
    super();
    add(new HelpPanel());

    pack();
    setMinimumSize(new Dimension(300, 100));
  }
View Full Code Here

Examples of mydatagenerator.gui.panels.HelpPanel

    dataBaseCleanerPanel = new CleaningServicePanel(mainFrame);
    dataGeneratorPanel = new DataGeneratorPanel(mainFrame)
    importExportServicePanel = new ExportPanel(mainFrame);
    importDatasetPanel = new ImportDatasetPanel(mainFrame);
    databaseTableUtilsPanel = new TableUtilPanel(mainFrame);
    helpPanel = new HelpPanel(mainFrame);
   
   
    /* Add the single vertical panel at the main panel */
    mainTabPanel.addTab("Target Database", targetDatabasePanel);
    mainTabPanel.addTab("Cleaning Service", dataBaseCleanerPanel);
View Full Code Here

Examples of org.analyse.core.gui.panel.HelpPanel

    menu.init();
    toolbar = new AnalyseToolbar();
    Main.splash.setProgress(30);

    /* Constuction du Panel d'aide */
    helpPanel = new HelpPanel();
    Main.splash.setProgress(40);

    /* Container */
    Container c = this.getContentPane();
    c.setLayout(new BorderLayout());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.