FileDocCategorySizeDatePackage
BidirectionalText.javaAPI DocExample588Mon Apr 05 10:26:38 BST 1999None

BidirectionalText

public class BidirectionalText extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    Frame f = new ApplicationFrame("BidirectionalText v1.0") {
      public void paint(Graphics g) {
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
            RenderingHints.VALUE_ANTIALIAS_ON);
        
        Font font = new Font("Lucida Sans Regular", Font.PLAIN, 32);
        
        g2.setFont(font);
        g2.drawString("Please \u062e\u0644\u0639 slowly.", 40, 80);
      }
    };
    f.setVisible(true);