unable to load wingdings font to button
911553Jan 21 2012 — edited Jan 23 2012Hello Everyone,
Need help. I tried to load wingdings font to button, to display symbol. However seems like the button still display wording and unable to load the wingdings font. I 'm able to load other font except wingdings, wingdings 2.
Button btn = new Button();
//Font lcd = Font.loadFont(JFXTestButton.class.getResourceAsStream("wingding.ttf"),14);
Font lcd = new Font("Wingdings",54);
btn.setText("abc");
btn.setFont(lcd);
Thanks