📄
字号:
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="新建%20Microsoft%20Word%20文档.files/filelist.xml">
<link rel=Edit-Time-Data href="新建%20Microsoft%20Word%20文档.files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>用定制的GUI开发Java聊天软件 </title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>CommUser</o:Author>
<o:LastAuthor>CommUser</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>9</o:TotalTime>
<o:Created>2005-12-29T11:44:00Z</o:Created>
<o:LastSaved>2005-12-29T11:44:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>588</o:Words>
<o:Characters>3357</o:Characters>
<o:Company>Chinese ORG</o:Company>
<o:Lines>27</o:Lines>
<o:Paragraphs>7</o:Paragraphs>
<o:CharactersWithSpaces>3938</o:CharactersWithSpaces>
<o:Version>10.2625</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:PunctuationKerning/>
<w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:Compatibility>
<w:SpaceForUL/>
<w:BalanceSingleByteDoubleByteWidth/>
<w:DoNotLeaveBackslashAlone/>
<w:ULTrailSpace/>
<w:DoNotExpandShiftReturn/>
<w:AdjustLineHeightInTable/>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* 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:宋体;
mso-font-kerning:1.0pt;}
a:link, span.MsoHyperlink
{mso-ansi-font-size:9.0pt;
mso-bidi-font-size:9.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:black;
mso-text-animation:none;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-CN link=black vlink=purple style='tab-interval:21.0pt;text-justify-trim:
punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>
<p class=MsoNormal align=center style='text-align:center;line-height:150%;
mso-pagination:widow-orphan;background:#F9F9F9'><b><span style='font-size:15.0pt;
line-height:150%;font-family:宋体;mso-bidi-font-family:宋体;color:#FF4200;
mso-font-kerning:0pt'>用定制的<span lang=EN-US>GUI开发Java聊天软件 <o:p></o:p></span></span></b></p>
<p class=MsoNormal align=left style='text-align:left;line-height:150%;
mso-pagination:widow-orphan;background:white'><span style='font-size:9.0pt;
line-height:150%;font-family:宋体;mso-bidi-font-family:宋体;color:#333333;
mso-font-kerning:0pt'>作者: 朱先忠 <span lang=EN-US><span
style='mso-spacerun:yes'> </span>出处: 天极网 <span
style='mso-spacerun:yes'> </span><span
style='mso-spacerun:yes'> </span>[ 2005-07-29 08:39 ]</span></span><span
lang=EN-US style='mso-bidi-font-size:10.5pt;line-height:150%;font-family:宋体;
mso-bidi-font-family:宋体;color:black;mso-font-kerning:0pt'><br>
<b>摘要</b>:本文详细介绍一个AWT版本的java聊天软件的开发过程,并着重分析<a
href="http://www.yesky.com/key/200/65200.html" target="_blank"><u><span
style='mso-ansi-font-size:10.5pt;mso-bidi-font-size:12.0pt;line-height:150%'>如何用</span></u></a>AWT组件实现软件的个性化界面。<br>
<b>简介</b><br>
本Java聊天软件,纯粹基于AWT组件,没有使用任何<a href="http://www.yesky.com/key/4315/34315.html"
target="_blank"><u><span style='mso-ansi-font-size:10.5pt;mso-bidi-font-size:
12.0pt;line-height:150%;font-family:Arial'>Swing</span></u></a>组件。在本程序中,我开发了自己的Tab控件和图像画布并给出完整的<a
href="http://www.yesky.com/key/747/45747.html" target="_blank"><u><span
style='mso-ansi-font-size:10.5pt;mso-bidi-font-size:12.0pt;line-height:150%'>源码</span></u></a>分析。软件实现界面见下图:</span><span
lang=EN-US style='font-size:9.0pt;line-height:150%;font-family:宋体;mso-bidi-font-family:
宋体;color:#333333;mso-font-kerning:0pt'><o:p></o:p></span></p>
<div align=center>
<table class=MsoNormalTable border=0 cellpadding=0 width="90%"
style='width:90.0%;mso-cellspacing:1.5pt'>
<tr style='mso-yfti-irow:0;mso-yfti-lastrow:yes'>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal align=center style='text-align:center;line-height:14.25pt;
mso-pagination:widow-orphan'><span lang=EN-US style='font-size:9.0pt;
font-family:Arial;color:black;mso-font-kerning:0pt'><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -