Question: Write a program that can dynamically change the font of a message. The font name or font size can be chosen from combo boxes. The
Write a program that can dynamically change the font of a message. The font name or font size can be chosen from combo boxes. The font name can be Dialog, DialogInput, Monospaced, Serif, or SansSerif. The font style can be selected as PLAIN, BOLD and/or ITALIC.
Font myFont = new Font("Serif", Font.PLAIN, 12);
message.setFont(myFont);
Using NetBean Java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
