Adding text to string in JCombo Box Java

I am working on an assignment in Java and am stuck on how to do this: Full code is below

JTextField descripField = new JTextField(20);

// add your desired TV programs to the string

String[] progs = { };

// add your desired TV programs descrips to the string

import javax.swing.*;

import java.awt.*;

import java.awt.event.*;

public class JTVDownload extends JFrame implements ItemListener

{

JComboBox programBox = new JComboBox();

JLabel programList = new JLabel("*** Program List ***");

JLabel stars = new JLabel("*****************************");

JTextField descripField = new JTextField(20);

// add your desired TV programs to the string

String[] progs = { };

// add your desired TV programs...

Read More »

By: StackOverFlow - Sunday, 17 June

Related Posts