简体   繁体   English

在Netbeans WYSIWYG编辑器中的输入面板上堆叠?

[英]Stacking over input panels in Netbeans WYSIWYG editor?

I'm trying to put a JButton in the WYSIWYG GUI editor in Netbeans at the center of a wheel of buttons I made around an input panel. 我试图将JButton放在Netbeans的WYSIWYG GUI编辑器中,在我围绕输入面板制作的按钮轮的中心。 The input panel is hidden in the program (specified by a user in an XML file) and the JButton should just be at the center of the wheel. 输入面板隐藏在程序中(由用户在XML文件中指定),并且JButton应该恰好位于滚轮的中心。 I can't figure out how to do that because actually putting it in on top of the input panel in the WYSIWYG editor just puts it in the input panel and it is therefore hidden when when the code is executed. 我不知道该怎么做,因为实际上在WYSIWYG编辑器中将其放在输入面板的顶部,只是将其放在输入面板中,因此在执行代码时将其隐藏。 Is it possible to view the "layers" in the editor and put the button in "under" the input panel so that it won't be hidden along with the panel? 是否可以在编辑器中查看“图层”并将按钮放置在输入面板的“下方”,以使其不会与面板一起隐藏?

我能找到的唯一有效解决方案是修改网格包约束对象,并在运行时隐藏面板后手动将按钮插入代码中。

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

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