Jbuilder 每日提示 (轉)

worldblog發表於2008-01-31
Jbuilder 每日提示 (轉)[@more@]

JBuilder TOf Day:namespace prefix = o ns = "urn:schemas--com::office" />

每日提示

1、Package an application for 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 de information

有資訊的編譯:

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

控制你的除錯資訊。從工程屬性(Project|Project Properties)建造頁的以下除錯選項裡選擇

* , 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 s for all books.

查詢:允許你輸入要查詢的字元,在所有書中查詢


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752043/viewspace-998876/,如需轉載,請註明出處,否則將追究法律責任。

相關文章