Package VisualLogic

Examples of VisualLogic.DialogFontChooser


   
        button.addActionListener(new java.awt.event.ActionListener()
        {
            public void actionPerformed(java.awt.event.ActionEvent evt)
            {
                DialogFontChooser chooser = new DialogFontChooser(getFrame(),true);
               
                Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
                int mitteX=(int)screenSize.getWidth() / 2;
                int mitteY=(int)screenSize.getHeight() / 2;
               
                chooser.setFont(myGetFont());
                chooser.setLocation(mitteX-getWidth()/2-200,mitteY-getHeight()/2-200);
               
                               
                chooser.setVisible(true);
                if (chooser.result)
                {
                  mySetFont(chooser.getNewFont());
                  jChanged();
                }
            }
        });
       
View Full Code Here

TOP

Related Classes of VisualLogic.DialogFontChooser

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.