Home

Company
  Technologies
  Team
  Workflow
 
Services
  Virtual Office
  Fixed Bid
  Portfolio
 
Products
  dhtmlxTree
  dhtmlxGrid
  dhtmlxTreeGrid
  dhtmlxTabbar
  dhtmlxCombo
  dhtmlxVault
  dhtmlxToolbar
  dhtmlxMenu
  AWTX TreeTable
  AWTX JTree
 
F.A.Q.
Download
Contact us
Font Dialog applet

Using this applet you can select any font properties like in standard Windows application. This applet works in any browser even on Solaris and Linux!

Click here to see applet in action.

Visit our download page to get this applet for free.

Questions or comments? Don't hesitate to write us, you are always welcome.
We would like to develop Java applets and applications for you,
just send us your requirements.

Class FontDialog

public class FontDialog
extends Dialog
implements ActionListener, WindowListener

Variable Index

 o color
 o font
 o isOK

Constructor Index

 o FontDialog(Frame, Font, Color)

Variables

 o isOK
public boolean isOK
true if button OK was pressed in Font Dialog,
false otherwise (Cancel or Escape buttons).

Read this variable after constructor calling to see if the user has selected a font or cancelled.

 o font
public Font font
Contains font value that was selected in Font Dialog.
Read this variable after constructor calling to get selected font value.
 o color
public Color color
Contains color value of the font that was selected in Font Dialog.
Read this variable after constructor calling to get selected color value.

Constructors

 o FontDialog
public FontDialog(Frame p, Font font, Color color)
Constructs a new Font Dialog with the specified font & color as default selected font & color, and displays it in the specified frame.
User can select a font style & color and press Ok or Cancel button to close the dialog. After calling this constructor read font, color and isOK variables to get information about the selected font and the button pressed.

Parameters:
p - the frame where to display Font Dialog.
font, color - the font & color to be selected by default when Font Dialog appears.



© 1998-2007 Scand LLC. Last updated 03/27/07 RSS