Package say.swing

Examples of say.swing.JFontChooser.showDialog()


    public Font selectFont(Font curretnFont) {
        JFontChooser jfc = new JFontChooser();
        if (curretnFont != null) {
            jfc.setSelectedFont(curretnFont);
        }
        int result = jfc.showDialog(this.reportSettings);
        return ((result == JFontChooser.OK_OPTION) ? jfc.getSelectedFont()
                : curretnFont);
    }

    /**
 
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.