简体   繁体   English

如何在NetBeans Java的Jframe设计视图中还原面板?

[英]How restore the panel in the design view of Jframe in netbeans java?

我在netbeans java的Jframe的设计视图中遇到问题。我未选中Jframe中面板的可见属性,但该面板未在设计视图中看到。我想将面板重新放入设计视图本身的框架中请帮我解决这个问题。

I suggest creating another project where panel is visible and comparing the code between the two projects. 我建议创建另一个在面板可见的项目,并比较两个项目之间的代码。 Try to be creative and figure out these kinds of problems on your own, you will benefit more than you can now imagine. 尝试发挥创造力,自己解决这些问题,您将获得比现在想象的更多的收益。

Changing opaque property of jpanel,you might make it invisible.If the issue is that; 更改jpanel的opaque property ,可能会使它不可见。 In design view you can see Navigator Panel bottom left side.You can see all of components you have created in here.For solving the issue 在设计视图中,您可以看到Navigator Panel左下角。您可以在此处看到您创建的所有组件。

Navigator Panel->find your jPanel ->Right Click->Properties Window->Check Opaque Property

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM