java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

Oracle Community | 807587 | 1 decade ago
  1. 0

    Displaying a JComboBox in JTable

    Oracle Community | 1 decade ago | 807587
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  2. 0

    JComboBox Cell editor in JTable

    Oracle Community | 1 decade ago | 843805
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  3. 0

    JComboBox as cell in JTable

    Oracle Community | 1 decade ago | 843805
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    check the requesting of focus: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1800) at java.awt.Component.getLocationOnScreen(Component.java:1774) at javax.swing.JPopupMenu.show(JPopupMenu.java:909) at javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:191) at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:833) at javax.swing.JComboBox.setPopupVisible(JComboBox.java:798) at javax.swing.JComboBox.showPopup(JComboBox.java:783) at org.amnesia.plugins.ui.results.filters.ResultFiltersPane$3.focusGained(ResultFiltersPane.java:126) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:203) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:202) at java.awt.Component.processFocusEvent(Component.java:5927) at java.awt.Component.processEvent(Component.java:5794) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:873) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:505) at java.awt.Component.dispatchEventImpl(Component.java:4282) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    JFrog JIRA | 9 years ago | Shmulik London
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  6. 0

    check the requesting of focus: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1800) at java.awt.Component.getLocationOnScreen(Component.java:1774) at javax.swing.JPopupMenu.show(JPopupMenu.java:909) at javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:191) at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:833) at javax.swing.JComboBox.setPopupVisible(JComboBox.java:798) at javax.swing.JComboBox.showPopup(JComboBox.java:783) at org.amnesia.plugins.ui.results.filters.ResultFiltersPane$3.focusGained(ResultFiltersPane.java:126) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:203) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:202) at java.awt.Component.processFocusEvent(Component.java:5927) at java.awt.Component.processEvent(Component.java:5794) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:873) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:505) at java.awt.Component.dispatchEventImpl(Component.java:4282) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    JFrog JIRA | 9 years ago | Shmulik London
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.awt.IllegalComponentStateException

      component must be showing on the screen to determine its location

      at java.awt.Component.getLocationOnScreen_NoTreeLock()
    2. Java RT
      JComboBox.showPopup
      1. java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1507)
      2. java.awt.Component.getLocationOnScreen(Component.java:1481)
      3. javax.swing.JPopupMenu.show(JPopupMenu.java:921)
      4. javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:177)
      5. javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:927)
      6. javax.swing.JComboBox.setPopupVisible(JComboBox.java:790)
      7. javax.swing.JComboBox.showPopup(JComboBox.java:775)
      7 frames
    3. com.clarologic.pm
      RoleComboBox$1.run
      1. com.clarologic.pm.backoffice.usermanagement.accounts.usertabs.branchdetails.rolecombobox.RoleComboBox$1.run(RoleComboBox.java:155)
      1 frame