Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please use asterisk to show me where the code ends and when to create new Class (inheritance ) thanks is java, forget abaout the video
please use asterisk to show me where the code ends and when to create new Class (inheritance ) thanks
is java, forget abaout the video is nothing thanks.
nysius Moodle.upel.ca Problem 2: Write a program to scroll a text message across a panel. You'll need a timer to control the animation. Provide a menu-based user interface to allow the user to: Exit the program . Set the text message (once this menu item is selected, use JOption Pane to . present a dialog to input the text) . Choose the font characteristics (family, style, size . Select the text color (black, blue, or red . Set the scrolling direction (left or right) The layout of the menus is youts to design but the menu bar must have at least twc items in it. Do yourself a favour and draw the menus on paper first so you know what your goal is when you get to the coding phase. Use the initial message "Hello" until the user changes it via the menu. When the message scrolls completely out of the panel, start it again from the other side. HINTS for Problem 2: (feel free to ignore if you want to tackle it on your own): Watch the video I posted to see how the program should behave. The menu structure is yours to design but the one shown is a reasonably simple approach that builds on that used in the "FontViewer2" example we saw in Chapter 11. At the end of the video I show the 3-class structure I used. You are welcome to adopt this as well
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