这些东西简单呀,跟其他windows下的软件差不多,闭着眼睛都能知道哪些菜单对应哪些功能

解决方案 »

  1.   

    哦,这个我知道
      ^_^   我四级过了
    但是我有个问题想问问大家.你们来看看下面这个代码:
    class sum
    {
    public static void main(String[] arguments)
    {
    int sum = 0;
    if (arguments.length>0)
    for (int i=0;i<arguments.length;i++)
     sum+=Integer.parseInt(arguments[i]);
     System.out.println("sum is "+sum);
    }
    }
    这是在JCreator下编的,想用到DOS的命令行参数,但是程序通过JCreator运行就显示sum=0;
    我就不能用命令行参数了,但是我在DOS下用javac 再用java  就可以用到DOS的命令行参数了,我想问的是JCreator是不是不支持DOS的命令行参数,还是有什么别的用法的我还不了解!所以想求JCreator的中问手册参考一下!^_^
      

  2.   

    在jcreator也可以输入命令行参数的How can I pass arguments to the main method? 1.Option One 
    Choose Options from the Configure menu. 
    Select JDK Tools, select Run Application from the pulldown list, Edit. 
    The Tool Configurations dialog box will be displayed. 
    Enable the checkbox ''Prompt for main method arguments" 
    2.Option Two 
    Open or Create a project. 
    Select Runtime Configurations from the build menu. 
    Select new or edit. 
    The Set RunTime Configuration dialog will popup, where you can fill in the arguments. 
    Start the runtime item via the pulldown menu next to the execute project-button. 
      

  3.   

    谢谢 topSixstar(小驴) !
    我还有个问题也是有关JCreator 的,
    就是JCreator有 files project workspace 三种新建目录,
    你能给我解释一下三个目录下建的都是什么文件么?
    我知道java file是一般的java 程序,html file 是做网页编程的么?还有text file
    有什么用处?
    project 是一般的工程文件,这个我知道
    basic java application 是基本的java 应用程序,
    basic java applet 是java小程序,是不是这样的?
    还有就是workspaces是干什么用的?