Cannot find TopComponent with preferredID

前端 未结 1 680
南旧
南旧 2021-01-24 23:52

I\'m trying to run my simple java-program, but have a big problem. It\'s connected with GUI. It can not show any created window. I attach stack-trace and one class.

<         


        
相关标签:
1条回答
  • 2021-01-25 00:02

    This problem "cannot find TopCoponent with preferredID..." happens frequently when a problem occurs before loading the TopComponent.

    A simple example : you try to load something in the constructor that fails (at any depth).

    This unexplicit message made me mad more than once !

    Hope this helps.

    0 讨论(0)
提交回复
热议问题