Question
Write a GUI program that allows a user to test different fonts, font styles, and font sizes within a window. Provide 10 font names of
Write a GUI program that allows a user to test different fonts, font styles, and font sizes within a window. Provide 10 font names of your choice for the user to select within a combo box. Also provide an option for the user to select one of the following font sizes via selection from a combo box: 8, 12, 16, 24, 30, 36, 42, 48. 56. In addition, provide options to display the text as bold and/or italic using checkboxes. If no checkboxes are selected, the text should be displayed in regular font. The text for display/testing should be "Programming is fun" and is required to update dynamically whenever the font name, font size or font style changes. Layout your components as per the image below.
Exerdise16 14 Font Name Book Antiqua Font Size 48 Programming is fun V Bold Italic
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started