Jbuilder 每日提示

类别:Java 点击:0 评论:0 推荐:

JBuilder Tip Of Day

每日提示

1、Package an application for Web Start in two steps:

两步打包一个Web Start应用程序:

First  , creat a JAR for your application files using the Archive Builder(Wizards |Archive Builder).

首先,利用文档建筑器(Wizards |Archive Builder)为你的应用程序文件创建一个JAR。

Second , run the Web Start Launcher wizard to create a sample home page and a .jnlp file.

然后,运行Web Start Launcher wizard来创建一个实例主页和一个.jnlp文件

When you make the homepage available in a web server ,users who have Web Start installed can launch the application with a single click on the link in the homepage.

当你把这个主页放到一个服务器上时,安装了Web Start的用户只需单击主页上的链接就可以启动该应用程序

 

2、Compile with debug information

有调试信息的编译:

Control your debug information .Choose from these debug options on the Build page of Progect Properties(Project|Project Properties):

控制你的调试信息。从工程属性(Project|Project Properties)建造页的以下调试选项里选择

*Source , Line , and Variable Information

源程序,所在行,和变量信息

*Source And Line Only

仅源程序和所在行

*Source Only

仅源程序

*None

没有

Rebuild your project for these changes to take effect . In JBuilder Personal ,

重新构造你的工程这些改动会起作用。在JBuilder Personal中,

only two options are available: Source,Line,and Variable Information and Source And Line Only.

只有两个选项时可用的:Source, Line, and Variable Information和 Source And Line Only.

 

3、Find the execution point

寻找中断点

To find the current execution point ,choose Run|Show Execution Point or click the Show Current Frame icon on the debugger toolbar.

想要找到当前的中断点,选择Run|Show Execution Point 或者点击在调试工具条上的Show Current Frame图标

 

4、File tab menu

文件标签菜单

You can run, debug ,make, and rebuild directly from the file tab menu in the content pane.

你可以从内容面板的文件标签菜单直接的运行,调试,构造,和重建造

Right-click the file tab to choose any of these menu items .

右键单击文件标签来选择其中的菜单项。

The source file must have a public static main() method for Run and Debug to appear on the menu.

要使运行和调试出现在菜单上,原程序必须有一个公共的静态的main()方法。

 

5、Find documentation in the Help Viewer

在帮助浏览器中查找文件

There are several ways to find documentation in the Help Viewer:

以下有几种从帮助浏览器中查找文件的途径:

*Contents: displays an expandable Table of Contents for all books.

内容:显示一个关于所有书的可放大的表格

*Index: displays the index entries for all books.

索引:显示所有书的索引

*Find: allows you to enter search words for all books.

查找:允许你输入要查找的字符,在所有书中查找

本文地址:http://com.8s8s.com/it/it17894.htm