]]>鎵瑰鐞?鍒ゆ柇鏄惁瀛樺湪鏌愪釜榪涚▼http://m.shnenglu.com/diferent/archive/2010/05/30/116724.html鏅撴礇鏅撴礇Sun, 30 May 2010 02:05:00 GMThttp://m.shnenglu.com/diferent/archive/2010/05/30/116724.htmlhttp://m.shnenglu.com/diferent/comments/116724.htmlhttp://m.shnenglu.com/diferent/archive/2010/05/30/116724.html#Feedback0http://m.shnenglu.com/diferent/comments/commentRss/116724.htmlhttp://m.shnenglu.com/diferent/services/trackbacks/116724.html@echo off
]]>Oracle鏌ヨ琛ㄦ敞閲?/title>http://m.shnenglu.com/diferent/archive/2010/05/19/115806.html鏅撴礇鏅撴礇Wed, 19 May 2010 06:41:00 GMThttp://m.shnenglu.com/diferent/archive/2010/05/19/115806.htmlhttp://m.shnenglu.com/diferent/comments/115806.htmlhttp://m.shnenglu.com/diferent/archive/2010/05/19/115806.html#Feedback0http://m.shnenglu.com/diferent/comments/commentRss/115806.htmlhttp://m.shnenglu.com/diferent/services/trackbacks/115806.html
瀛楁娉ㄩ噴
select * from user_col_comments;
琛ㄦ敞閲?/strong>
select * from user_tab_comments;
//
鏌ヨ瀛楁綾誨瀷
select column_name,data_type,data_length from user_tab_columns where table_name='TableName' and column_name in ('AGE_ID','MONTH_ID')
Column_name鍊間負澶у啓
//
鏌ヨ琛ㄧ殑涓婚敭
select * from user_cons_columns where table_name='D_DAY'
//
select column_name from user_cons_columns where constraint_name in (select constraint_name from user_constraints where table_name = 'D_DAY' and constraint_type = 'P')
//鏌ヨ鏌愯〃瀛楁鐨勪富閿悕縐板強綾誨瀷
select column_name,data_type,data_length,DATA_PRECISION||','||DATA_SCALE from user_tab_columns v join (select column_name from user_cons_columns where constraint_name in (select constraint_name from user_constraints where table_name = 'D_DAY' and constraint_type = 'P')) t using (column_name) where table_name='D_DAY'
]]>JavaScript 鍦ㄥ瓧絎︿覆涓粺璁℃煇涓瓧絎︾殑嬈℃暟http://m.shnenglu.com/diferent/archive/2009/12/14/103216.html鏅撴礇鏅撴礇Mon, 14 Dec 2009 15:35:00 GMThttp://m.shnenglu.com/diferent/archive/2009/12/14/103216.htmlhttp://m.shnenglu.com/diferent/comments/103216.htmlhttp://m.shnenglu.com/diferent/archive/2009/12/14/103216.html#Feedback0http://m.shnenglu.com/diferent/comments/commentRss/103216.htmlhttp://m.shnenglu.com/diferent/services/trackbacks/103216.html//鏌ユ壘瀛楃涓蹭腑鐨勯楀彿 var s ="aa,bb,cc," //鏂規硶涓 var count =0; a.replace(/[,]/g,function(){ count=count+1; return"a"; } ) alert(count);
//鏂規硶浜?/span> var r = a.split(","); r.pop(); alert (r.length); //鏂規硶涓?/span> alert(a.replace(/[^,]/g,'').length);
]]>SWing 璁劇疆瑙傛劅錛圠ook And Feel)(杞?http://m.shnenglu.com/diferent/archive/2009/12/08/102795.html鏅撴礇鏅撴礇Tue, 08 Dec 2009 06:08:00 GMThttp://m.shnenglu.com/diferent/archive/2009/12/08/102795.htmlhttp://m.shnenglu.com/diferent/comments/102795.htmlhttp://m.shnenglu.com/diferent/archive/2009/12/08/102795.html#Feedback0http://m.shnenglu.com/diferent/comments/commentRss/102795.htmlhttp://m.shnenglu.com/diferent/services/trackbacks/102795.html
Swing閫氳繃浠ヤ笅鏂瑰紡瀹炵幇瑙傛劅錛氬皢JComponent鍒嗙鎴愪袱涓嫭绔嬬殑綾伙紝涓涓狫Component瀛愮被錛屼竴涓狢omponentUI瀛愮被銆侰omponentUI瀛愮被鍦╯wing涓湁寰堝鍙硶錛?the UI," "component UI," "UI delegate," "look and feel delegate"銆?/div>
姣忎釜L&F閮藉繀欏諱負ComponentUI鎻愪緵鍏蜂綋瀹炵幇鐨勫瓙綾匯?/div>
1銆佸彲鑾峰緱鐨凩&F
(1)CrossPlatformLookAndFeel:Java l&f錛屽嵆鍦ㄥ悇涓鉤鍙頒笂鐨勬晥鏋滅浉鍚岋紝榪欐槸榛樿鐨勮鎰燂紝鏄疛AVA API javax.swing.plaf.metal鐨勪竴閮ㄥ垎銆?/div>