java.lang.RuntimeException: JOptionPane: parentComponent does not have a valid parent

Oracle Community | 807577 | 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

    JOptionPane and Applet problem

    Oracle Community | 1 decade ago | 807577
    java.lang.RuntimeException: JOptionPane: parentComponent does not have a valid parent

  1. jshakil 1 times, last 4 months ago

Root Cause Analysis

  1. java.lang.RuntimeException

    JOptionPane: parentComponent does not have a valid parent

    at javax.swing.JOptionPane.createInternalFrame()
  2. Java RT
    JOptionPane.showInternalConfirmDialog
    1. javax.swing.JOptionPane.createInternalFrame(JOptionPane.java:1161)
    2. javax.swing.JOptionPane.showInternalOptionDialog(JOptionPane.java:1025)
    3. javax.swing.JOptionPane.showInternalConfirmDialog(JOptionPane.java:967)
    4. javax.swing.JOptionPane.showInternalConfirmDialog(JOptionPane.java:931)
    4 frames