简体   繁体   English

如何防止Netbeans 6.9将窗口小部件属性存储在属性文件中

[英]How to prevent Netbeans 6.9 from storing widget properties in a properties file

I'm learning to use Netbeans and for my intro pet projects, I don't want it storing widget properties in a properties file. 我正在学习使用Netbeans,对于我的介绍性项目,我不希望它在属性文件中存储小部件属性。 For example, by default, it puts the text property of a JLabel into a properties file. 例如,默认情况下,它将JLabel的text属性放入属性文件中。 There's a checkbox to disable it per property but is there a way to do that globally? 有一个复选框可以针对每个属性禁用它,但是有一种全局的方法吗? And is there a way to easily disable this for 20 widgets I've already defined? 有没有一种方法可以轻松地为我已经定义的20个小部件禁用此功能?

You can disable it on a per-form level by going into Design mode, selecting the topmost item in the Inspector window, then unchecking the Automatic Internationalization property. 通过进入“设计”模式,在“检查器”窗口中选择最顶层的项目,然后取消选中“ Automatic Internationalization属性,可以在每个表单级别禁用它。

You can also disable it globally by going to Tools > Options > Miscellaneous > Gui Builder and changing Automatic Internationalization to off . 您还可以通过以下方法全局禁用它:转到“ Tools > Options > Miscellaneous > Gui Builder ,并将“ Automatic Internationalization更改为“ off

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

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