I took your advice and added 'i', it works now. Thank you.
Type: Posts; User: mwardjava92
I took your advice and added 'i', it works now. Thank you.
I have added:
jcbSizes = new JComboBox();
This has taken care of the error in main I was getting.
I have also changed the for loop to:
for(int i = 1; i < 100; i ++)
{...
I have found and added the addItem() method to get this:
for(int i = 1; i < 100; i ++)
{
jcbFonts.addItem(sizes);
}
It is compiling but I am getting this error when I run it:
I'm creating a JFrame that allows the user to change the font and font size of a piece of text by using 2 JCheckBoxes. The first JCheckBox gives the user every font available and it works fine. The...