1:Windows版中开发的文件在Linux下打开时中文为乱码。我估计是Windows与Fedora3使用的字符集不一致造成的。Fedora3默认是UTF8,我在Fedora3下建立文本文件去Windows下看时都得先存成GBK、或GB2312。如果NetBeans能像别的JAVA IDE那样可以编辑多种字符集文件是不是要好一些。2:NetBeans4.1 中内部框架不能单独运行,而普通框架可以。如果是多人开发,有一个人把版本管理服务器上的MDI窗体签出去了,那其它的程序员怎么测试自己的内部框架?SUN是不是在自己的商业版开发工具中解决了这个问题?

解决方案 »

  1.   

    这个在netbeans的帮助里可以查到:Setting Character Encoding for Java FilesBy default, the IDE displays and saves all of your files in your system's default character encoding. This character encoding determines how the IDE interprets characters beyond the ASCII character set. You can specify character encoding at the IDE default level or for individual files.
    The IDE's encoding settings only determine how the IDE deals with text in the Source Editor. These settings do not affect the encoding settings for compilation.
    To set the character encoding for a file:
    Right-click the file in the Projects window and choose Properties.
    Enter the encoding name in the Encoding property. If you do not want to specify the encoding at this level, leave the property blank.
    To set the default character encoding for the IDE or a project:
    Choose Tools   Options from the Main Window.
    Expand the Editing node and select Java Sources.
    Enter the encoding name in the Default Encoding property. To use your system's default encoding, leave the property blank.
      

  2.   

    gtlang78()大星星,你写英文我很痛苦的。我就去看看