public void actionPerformed(ActionEvent evt) {
   Object obj = evt.getSource();
   if (obj instanceof JMenuItem) {
     // put the focus on the noneditable combo.
     combo1.requestFocus();
   }
 }
 private void updateEnabledItems() {
   if (myRbExisting.isSelected()) {
     myExistingListsCombo.setEnabled(true);
     UIUtil.setEnabled(myNewListPanel, false, true);
     myExistingListsCombo.requestFocus();
   } else {
     myExistingListsCombo.setEnabled(false);
     UIUtil.setEnabled(myNewListPanel, true, true);
     myNewListPanel.requestFocus();
   }
   if (myProject != null) {
     myNewListPanel.nameChangedImpl(myProject, null);
   }
 }
예제 #3
0
 public void activate() {
   sel.requestFocus();
 }
예제 #4
0
파일: FramesPanel.java 프로젝트: jexp/idea2
 public void requestFocus() {
   myThreadsCombo.requestFocus();
 }