Examples of BDFFontProvider


Examples of org.jnode.awt.font.bdf.BDFFontProvider

    public void update(int x, int y, int width, int height) {
        //do nothing
    }

    public static void main(String[] argv) {
        FontProvider<BDFFont> fp = new BDFFontProvider();
        Set<? extends Font> obj = fp.getAllFonts();
        System.out.println(obj);
        final TextRenderer tr = fp.getTextRenderer(obj.iterator().next());
        final AffineTransform tf = AffineTransform.getTranslateInstance(0, 0);
        JFrame f = new JFrame("BDF Test");
        f.add(new JComponent() {
            private static final long serialVersionUID = 1L;
            @Override
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.