public void setFontSize(int fontSize) { estabilishOwnFont(); setFont( getFrame() .getController() .getFontThroughMap(new Font(font.getFamily(), font.getStyle(), fontSize))); }
public void toggleItalic() { estabilishOwnFont(); setFont( getFrame() .getController() .getFontThroughMap( new Font(font.getFamily(), font.getStyle() ^ Font.ITALIC, font.getSize()))); }