2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: Franco Lombardo - f_lombardo How to substitute the deprecated setFont? 2006-07-14 06:05The JRDesignTextElement.setFont method is deprecated. How can I substitute it in my code? Thanks a lot. Bye Franco By: Franco Lombardo - f_lombardo RE: How to substitute the deprecated setFont? 2006-07-14 06:57JRDesignTextField textField = new JRDesignTextField(); JRStyle style = new JRBaseStyle(); style.setFontName("Serif Normal"); style.setFontSize(9); textField.setStyle(style); Thanks a lot. Bye. Franco Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now