Package com.salas.bb.core.autosave

Examples of com.salas.bb.core.autosave.NameFormat


     * @param cb        box.
     * @param selected  the format to select.
     */
    private static void loadNameFormats(JComboBox cb, String selected)
    {
        NameFormat sel = null;

        NameFormat[] fmts = NameFormat.FORMATS;
        for (NameFormat fmt : fmts)
        {
            cb.addItem(fmt);
View Full Code Here


     *
     * @return format.
     */
    private static String getSelectedFormat(JComboBox cb)
    {
        NameFormat fmt = (NameFormat)cb.getSelectedItem();
        return fmt.getFormat();
    }
View Full Code Here

TOP

Related Classes of com.salas.bb.core.autosave.NameFormat

Copyright © 2018 www.massapicom. 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.