Examples of FontChooserDialog


Examples of com.santiagolizardo.beobachter.gui.dialogs.FontChooserDialog

      mainWindow.setAlwaysOnTop(alwaysOnTopMenuItem.isSelected());
    } else if (manageLogTypesMenuItem == source) {
      LogTypesDialog dialog = new LogTypesDialog(mainWindow);
      dialog.setVisible(true);
    } else if (fontSelectorMenuItem == source) {
      FontChooserDialog dialog = new FontChooserDialog(mainWindow);
      dialog.setVisible(true);     
    } else if (preferencesMenuItem == source) {
      PreferencesDialog dialog = new PreferencesDialog(mainWindow);
      dialog.setVisible(true);
    }
  }
View Full Code Here

Examples of org.jfree.ui.FontChooserDialog

         * @param e
         *            Description of the Parameter
         */
        public void actionPerformed(ActionEvent e) {
            JButton button = (JButton) e.getSource();
            FontChooserDialog dialog = new FontChooserDialog(prefs, resources
                    .getString("messageWindowFont"), true, button.getFont());

            dialog.setVisible(true);

            if (!dialog.isCancelled()) {
                Font newFont = dialog.getSelectedFont();
                button.setFont(newFont);
                button
                        .setText(getEncodedFontName(newFont).replaceAll("-",
                                " "));
            }
View Full Code Here

Examples of org.jfree.ui.FontChooserDialog

    /**
     * Checks that it is possible to create a dialog.
     */
    public void testCreateDialog () {
        try {
            new FontChooserDialog
                (new Frame(), "Title", false, new Font("Serif", Font.PLAIN, 10));
        }
        catch (UnsupportedOperationException use) {
            // Headless mode exception is instance of this ex.
        }
View Full Code Here

Examples of org.jfree.ui.FontChooserDialog

    /**
     * Checks that it is possible to create a dialog.
     */
    public void testCreateDialog () {
        try {
            new FontChooserDialog
                (new Frame(), "Title", false, new Font("Serif", Font.PLAIN, 10));
        }
        catch (UnsupportedOperationException use) {
            // Headless mode exception is instance of this ex.
        }
View Full Code Here

Examples of org.jfree.ui.FontChooserDialog

    /**
     * Checks that it is possible to create a dialog.
     */
    public void testCreateDialog () {
        try {
            new FontChooserDialog
                (new Frame(), "Title", false, new Font("Serif", Font.PLAIN, 10));
        }
        catch (UnsupportedOperationException use) {
            // Headless mode exception is instance of this ex.
        }
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.