var doSubmitInfoPanelSupplierList = function( myType ){
        if (infoPanelSupplierList.form.isValid()){
            Ext.MessageBox.wait('資料處理中','請稍後' );
infoPanelSupplierList.form.doAction('submit',{
 url:myUrl,//文件路徑

yuchun0912 發表在 痞客邦 留言(0) 人氣()

int i1 =0x2f   Hexadecimal

int i2 =0117  Octal

char c =0xffff   max char hex value

byte b = 0x7f  max byte hex value

short s = 0x7ffff  max short value

yuchun0912 發表在 痞客邦 留言(0) 人氣()

不訂陣列,未定陣列大小。

private Vector _vector = new Vector();

實作 Enumeration 介面的物件,它產生一系列元素

Enumeration v = _vector .elements();

_vector.hasMoreElement();

yuchun0912 發表在 痞客邦 留言(0) 人氣()

<img>元素

<img src="images/look.gif" alt="look">  src屬性,要讀取的圖檔。

  alt="look"                                              alt屬性,如果無法顯示圖樣時,此時文字會出現在原本圖樣的位置。

  width="48" height="100"                      width屬性,顯示寬度pixel。 height屬性,顯示高度pixel。

範例

yuchun0912 發表在 痞客邦 留言(0) 人氣()

tomcat00.JPG

下載Tomcat :  http://tomcat.apache.org/

需要先安裝JAVA JDK

設定需要的相關環境變數:

    變數名稱 

   JAVA_HOME                   C:\Program Files\Java\jdk1.6.0_24   (JDK所在位置)

yuchun0912 發表在 痞客邦 留言(0) 人氣()

HTML 簡單舉例:

<html>                                                  告訴瀏覽器這是HTML文件的開始

  <head>                                              頁面標頭開始

       <title>  this is Title  </title>          頁面標題

       <style type="text/css">               style的起始標籤,style元素放在HTML的<head>裡面

yuchun0912 發表在 痞客邦 留言(0) 人氣()

撰寫程式碼風格

對於class 有一個不成文規定:名稱第一個字母大寫,如有多個字母就併在一塊(不以底線連接), 每個字第一個字母大寫。

example :   class  AllTheColorsOfTheRainbow{}

method 、fields、 object reference 命名規則如上,唯一例外的是第一個字母小寫。

example:    int  anIntegetRepresentingColors;

yuchun0912 發表在 痞客邦 留言(0) 人氣()

打開/關閉 Eclipse 自動提示功能

路徑   Window ->Preference -> Java -> Editor

Auto-Activation

Enable  auto Activation  打開或關閉

Auto Activation delay  延遲時間

yuchun0912 發表在 痞客邦 留言(0) 人氣()

常駐程式的處理方法:

1. 指定執行間隔時間

2.指定執行時刻

3.按下按鈕執行

yuchun0912 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。