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

Oracle Community | 807587 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How do you setLocation of JFileChooser

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

    Losing comboBox selection in JTable

    Oracle Community | 2 decades ago | 807582
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

    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
      Component.getLocationOnScreen_NoTreeLock
      1. java.awt.Component.getLocationOnScreen_NoTreeLock(Unknown Source)
      1 frame