Java JComboBox Text setTextSizeMenu(JComboBox choice)

Here you can find the source of setTextSizeMenu(JComboBox choice)

Description

set Text Size Menu

License

Open Source License

Declaration

public static void setTextSizeMenu(JComboBox choice) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.*;

public class Main {
    public static void setTextSizeMenu(JComboBox choice) {
        choice.addItem("10");
        choice.addItem("12");
        choice.addItem("14");
        choice.addItem("16");
        choice.addItem("18");
        choice.addItem("20");
        choice.addItem("22");
    }//from  ww w  .ja va 2 s.  c  om
}

Related

  1. getComboBoxText(final JComboBox aComboBox)
  2. getComboBoxText(JComboBox comboBox)
  3. getJComboBoxJTextField(JComboBox comboBox)
  4. getTextComponent(JComboBox combo)
  5. getTextField(JComboBox comboBox)