java ²âÊÔ
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:ËÎÌå;
color:windowtext;
mso-font-kerning:1.0pt;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
{margin:0cm;
margin-bottom:.0001pt;
text-align:center;
mso-pagination:none;
tab-stops:center 207.65pt right 415.3pt;
layout-grid-mode:char;
border:none;
mso-border-bottom-alt:solid windowtext .75pt;
padding:0cm;
mso-padding-alt:0cm 0cm 1.0pt 0cm;
font-size:9.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:ËÎÌå;
color:windowtext;
mso-font-kerning:1.0pt;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:none;
tab-stops:center 207.65pt right 415.3pt;
layout-grid-mode:char;
font-size:9.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:ËÎÌå;
color:windowtext;
mso-font-kerning:1.0pt;}
p.MsoDocumentMap, li.MsoDocumentMap, div.MsoDocumentMap
{mso-style-noshow:yes;
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
background:navy;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:ËÎÌå;
color:windowtext;
mso-font-kerning
Ïà¹ØÎĵµ£º
JEditorPaneÌṩÈýÖÖÀàÐ͵ÄÎı¾ÏÔʾ£¬text/plain,text/html,text/rtf.
JEditorPaneµÄ¼òµ¥Ó÷¨DEMOÈçÏ£º
package ibees.swing;
import java.awt.Toolkit;
import java.io.IOException;
import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.event.Hype ......
Java·ºÐÍ
ÓÉC++µÄÄ£°åº¯ÊýÒýÈë×Ô¶¨Òå·ºÐÍ
ÈçϺ¯ÊýµÄ½á¹¹ºÜÏàËÆ£¬½öÀàÐͲ»Í¬£º
int add(int x, int y) { return x + y;}
float add(float x, float y) { return x + y;}
double add(double x ,double y) {return x + y;}
C++ÓÃÄ£°åº¯Êý½â¾ö£¬Ö»Ð´Ò»¸öͨÓ÷½·¨£¬Ëü¿ÉÒÔÊÊÓ¦¸÷ÖÖÀàÐÍ£¬Ê¾Òâ´úÂëÈçÏ£º
T add(T x, T y) ......
ÕâÊÇÒ»¸ö·Ç³£¼òµ¥µÄJavaÆåÀàÓÎÏ·£¨ßÀ£¬²»Ð¡ÐÄÑ¡ÁËÒ»ÕÅÕ¼Óÿռä±È½Ï´óµÄ±³¾°Í¼……£©£¬ÎÒÖ´ºì·½£¬µÐÖ´À¶·½£¬Ê×ÏȽ«ÉÏÏ»ò×óÓÒÁ½¶ËÆå×Ó¹áͨÕß¼´ÎªÊ¤Àû£¬ÒÔLGame-Simple-0.2.5¿ª·¢£¨Ô´ÂëÔÚjarÖУ©¡£
ÊÂʵÉÏ£¬ÎÒÃǾ³£¿ÉÒÔÔÚÍøÂçÖп´µ½ÓÐЩÍøÓÑ·´¸´Ñ°ÕÒÖîÈçÎå×ÓÆ塢ΧÆå¡¢ÏóÆåÖ®ÀàСÓÎÏ·µÄʾÀý³ÌÐò¡£Ã÷Ã÷ÍøÂçÉÏͬÀ ......
package homework03;
import java.util.Scanner;
/*
* ±àдһ¸öÀ࣬¸ÃÀàÓÐÒ»¸ö·½·¨
* public int f£¨int a£¬int b£©{
*
* }
* È»ºó±àдһ¸ö¸ÃÀàµÄ×ÓÀ࣬ҪÇóÖØд·½·¨f()£¬¶øÇÒÖØдµÄ·½·¨½«·µ»ØÁ½¸öÕûÊýµÄ×îС¹«±¶Êý¡£ÒªÇó£º
* ÔÚÖØдµÄ·½·¨µÄ·½·¨ÌåÖÐÊ×Ïȵ÷Óñ»Òþ²ØµÄ·½·¨·µ»ØaºÍbµÄ×î´ó¹«Ô¼Êým,È»ºó½«a*b/m ......
CEFinderÊÇCKEditorµÄÎļþä¯ÀÀÆ÷¡£Ä¿Ç°»¹Ã»Óиø³öjava°æ±¾¡£¶ÔÓÚÄÇЩ»ÃÏë½öͨ¹ý¸Ä¼¸¸öurl¾Í¿ÉÒÔʹÓÃFCKEditorµÄjava°æµÄÅóÓÑ£¬ÎÒÖ»ÄÜ˵£¬ÇåÐÑһϰɅ…=¡£=
ÔÒòÈçÏ£º
FCKEditorµÄjava°æͨ¹ýcommand²ÎÊýÈ·¶¨ÇëÇóÖ¸Á
getÌá½»·½Ê½¿ÉÄܳöÏÖµÄÃüÁî:
&n ......