Package javax.swing

Examples of javax.swing.JComboBox$AccessibleJComboBox$AccessibleJComboBoxPopupMenuListener


      add(mTitle, BorderLayout.NORTH);
    }
    JPanel innerPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 5, 0));
    innerPanel.setBorder(BorderFactory.createEmptyBorder());

    mFontCB = new JComboBox(FONTNAMES);
    mStyleCB = new JComboBox(FONTSTYLES);
    mSizeSpinner = new JSpinner(new SpinnerNumberModel(FONTSIZE_MIN, FONTSIZE_MIN, FONTSIZE_MAX, 1));

    innerPanel.add(mFontCB);

    if (style) {
View Full Code Here


      try {
        zoneIds = TimeZone.getAvailableIDs();
      } catch (Exception e) {
        e.printStackTrace();
      }
      mTimeZones = new JComboBox(zoneIds);
      mTimeZones.setEnabled(mData.useTimeZone() && mTimeZones.getItemCount() > 0);
     
      for (int i=0; i<zoneIds.length; i++) {
        if (zoneIds[i].equals(mData.getTimeZone().getID())) {
          mTimeZones.setSelectedIndex(i); break;
View Full Code Here

public class MinutesCellEditor extends AbstractCellEditor implements TableCellEditor, ActionListener {
  private JComboBox mComboBox;
 
  public MinutesCellEditor() {
    mComboBox = new JComboBox(ReminderDialog.SMALL_REMIND_MSG_ARR);
    mComboBox.putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE);
  }
View Full Code Here

    ta.setFocusable(false);
    content.add(ta, BorderLayout.NORTH);

    final PluginProxy[] plugins = PluginProxyManager.getInstance()
        .getActivatedPlugins();
    mBox = new JComboBox(plugins);
    if (mPlugin != null) {
      mBox.setSelectedItem(mPlugin);
    }
    content.add(mBox, BorderLayout.CENTER);
View Full Code Here

        localizer.msg("color.mediumPriority", "3. Color (Medium priority)"),
        localizer.msg("color.higherMediumPriority",
            "4. Color (higher medium priority)"),
        localizer.msg("color.maxPriority", "5. Color (maximum priority)") };

    mValueSelection = new JComboBox(values);
    mValueSelection.setSelectedIndex(mMarkPriority);
    mValueSelection.setRenderer(new MarkPriorityComboBoxRenderer());

    p.add(mValueSelection, cc.xy(1, 1));
View Full Code Here

    autoClosePanel.add(mShowTimeCounter, cc.xyw(1,9,4));
   
    secondsLabel.setEnabled(mCloseOnTime.isSelected() && mReminderWindowChB.isSelected());
   
    String defaultReminderEntryStr = (String)mSettings.get("defaultReminderEntry");
    mDefaultReminderEntryList =new JComboBox(ReminderDialog.SMALL_REMIND_MSG_ARR);
    if (defaultReminderEntryStr != null) {
      try {
        int inx = Integer.parseInt(defaultReminderEntryStr);
        if (inx < ReminderDialog.SMALL_REMIND_MSG_ARR.length) {
          mDefaultReminderEntryList.setSelectedIndex(inx);
View Full Code Here

    CellConstraints cc = new CellConstraints();

   
   
    mModel = new ReminderTableModel(reminderList, mTitleSelection = new JComboBox());

    mTable = new JTable();
    mTable.addKeyListener(new KeyAdapter() {
      public void keyPressed(KeyEvent e) {
        if (e.getKeyCode() == KeyEvent.VK_ESCAPE || e.getKeyCode() == KeyEvent.VK_ENTER) {
View Full Code Here

    headerPanel.add(titleLabel,BorderLayout.CENTER);
    headerPanel.add(infoPanel,BorderLayout.EAST);

    northPn.add(headerPanel);

    mList=new JComboBox(mRemindMessages);

    String s=settings.getProperty("defaultReminderEntry");
    int reminderTime = 5;
    if (s!=null) {
      try {
View Full Code Here

      if (reminder.getMinutes() < remainingMinutesMax) {
        remainingMinutesMax = reminder.getMinutes();
      }
    }

    mReminderCB = new JComboBox();
    int i=0;
    while (i < REMIND_VALUE_ARR.length
        && REMIND_VALUE_ARR[i] < remainingMinutesMax) {
      mReminderCB.addItem(REMIND_MSG_ARR[i]);
      i++;
View Full Code Here

    txDataFilename.setColumns(40);

    encodingModel = EncodingComboBoxModel.createDefaultModel(Locale.getDefault());
    encodingModel.sort();

    cbEncoding = new JComboBox(encodingModel);
    cbxStrictLayout = new JCheckBox(getResources().getString("htmlexportdialog.strict-layout")); //$NON-NLS-1$
    cbxCopyExternalReferences = new JCheckBox(getResources().getString(
        "htmlexportdialog.copy-external-references")); //$NON-NLS-1$

    getFormValidator().registerButton(cbxStrictLayout);
View Full Code Here

TOP

Related Classes of javax.swing.JComboBox$AccessibleJComboBox$AccessibleJComboBoxPopupMenuListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.