Question
a. Write an application that allows a user to select one of at least five television shows to watch on demand. When the user selects
a. Write an application that allows a user to select one of at least five television shows to watch on demand. When the user selects a show, display a brief synopsis. Save the file as JTVDownload.java.
b. Change the JTVDownload application to include an editable combo box. Allow the user to type the name of a television show and display an appropriate error message if the desired show is not available. Save the file as JTVDownload2.java. For program b save JTVDowload as JTVDownload2, the programs are the same except for the changes and added code to allow for user input *******************************
I was able to figure out part a :
import javax.swing.*; import java.awt.*; import java.awt.event.*;
public class JTVDownload extends JFrame implements ItemListener { JComboBox
but i need help with part b.
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