?? pkg.html
字號:
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>java.awt Examples from The Java Developers Almanac 1.4</TITLE>
<META CONTENT="Patrick Chan" NAME="AUTHOR">
<META CONTENT="Code Examples from the Java Developers Almanac 1.4" NAME="DESCRIPTION">
<META CONTENT="Java Examples" NAME="KEYWORDS">
<META CONTENT="Addison-Wesley/Patrick Chan" NAME="OWNER">
<META CONTENT="3/20/02" NAME="revision">
<STYLE TYPE="text/css">
<!-- BODY CODE {font-family: Courier, Monospace; font-size: 11pt} TABLE, BODY {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt} PRE {font-family: Courier, Monospace; font-size: 10pt} H2 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt} H3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11pt} A.eglink {text-decoration: none} A:hover.eglink {text-decoration: underline} -->
</STYLE>
</HEAD>
<BODY>
<TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0">
<TR>
<TD rowspan="3"><A HREF="/?l=ex"><IMG BORDER="0" ALIGN="BOTTOM" HSPACE="10" SRC="/egs/almanac14a.jpg"></A></TD><TD VALIGN="top"><font face="Times" size="6"><b>The Java Developers Almanac 1.4</b></font>
<br>
Order this book from <a href="/cgi-bin/scripts/redirect.pl?l=ex&url=http://www.amazon.com/exec/obidos/ASIN/0201752808/xeo">Amazon</a>.
</TD>
</TR>
<TR>
<TD align="right" valign="bottom">
<FORM method="get" action="/cgi-bin/search/find.pl">
<INPUT size="25" name="words" type="text"><INPUT value="Search" type="submit">
</FORM>
</TD>
</TR>
</TABLE>
<HR color="#6666cc">
<DIV ALIGN="LEFT">
<A HREF="/">Home</A>
>
<A HREF="../index.html">List of Packages</A>
</DIV>
<br>
<h2>java.awt</h2>
<TABLE CELLSPACING="0" CELLPADDING="5" BORDER="0" width="600">
<TR>
<TD HEIGHT="2" width="20" VALIGN="TOP"></TD><TD VALIGN="TOP">
<br>
<a name="Frames"></a><b>Frames</b>
<hr>
e564. <a class="eglink" href="frame_CreateFrame.html">Creating a Frame</a>
<br>
e565. <a class="eglink" href="frame_FrameIcon.html">Setting the Icon for a Frame</a>
<br>
e566. <a class="eglink" href="frame_NoResizeFrame.html">Making a Frame Non-Resizable</a>
<br>
e567. <a class="eglink" href="frame_FrameNoDecor.html">Removing the Title Bar of a Frame</a>
<br>
e568. <a class="eglink" href="frame_FrameMax.html">Setting the Bounds for a Maximized Frame</a>
<br>
e569. <a class="eglink" href="frame_FrameIconify.html">Iconifying and Maximizing a Frame</a>
<br>
e570. <a class="eglink" href="frame_CloseHide.html">Hiding a Frame When the Close Button Is Clicked</a>
<br>
e571. <a class="eglink" href="frame_CloseExit.html">Exiting an Application When a Frame Is Closed</a>
<br>
e572. <a class="eglink" href="frame_FrameGet.html">Getting All Created Frames in an Application</a>
<br>
e573. <a class="eglink" href="frame_FrameCls.html">Determining When a Frame or Window Is Opened or Closed</a>
<br>
e574. <a class="eglink" href="frame_FrameEvt.html">Determining When a Frame or Window Is Iconized or Maximized</a>
<br>
<br>
<a name="Components"></a><b>Components</b>
<hr>
e575. <a class="eglink" href="comp_ResizeEvt.html">Determining When a Component Has Been Made Visible, Moved, or Resized</a>
<br>
<br>
<a name="Containers"></a><b>Containers</b>
<hr>
e576. <a class="eglink" href="container_ContCreate.html">Creating a Container</a>
<br>
e577. <a class="eglink" href="container_ContGet.html">Getting the Child Components of a Container</a>
<br>
e578. <a class="eglink" href="container_ContEvt.html">Determining When a Component Is Added or Removed from a Container</a>
<br>
<br>
<a name="Cursors"></a><b>Cursors</b>
<hr>
e579. <a class="eglink" href="SetCursor.html">Setting a Component's Cursor</a>
<br>
<br>
<a name="Drawing"></a><b>Drawing</b>
<hr>
e580. <a class="eglink" href="BasicDraw.html">The Quintessential Drawing Program</a>
<br>
e581. <a class="eglink" href="Composite.html">Drawing with Alpha</a>
<br>
e582. <a class="eglink" href="AntiAlias.html">Enabling Antialiasing</a>
<br>
e583. <a class="eglink" href="ClipShape.html">Setting the Clipping Area with a Shape</a>
<br>
e584. <a class="eglink" href="StrokeThickness.html">Changing the Thickness of the Stroking Pen</a>
<br>
e585. <a class="eglink" href="SetTexture.html">Stroking or Filling with a Texture</a>
<br>
e586. <a class="eglink" href="AnimApp.html">Animating an Array of Images in an Application</a>
<br>
<br>
<a name="Colors"></a><b>Colors</b>
<hr>
e587. <a class="eglink" href="SetColor.html">Drawing with Color</a>
<br>
e588. <a class="eglink" href="SetGradient.html">Drawing with a Gradient Color</a>
<br>
e589. <a class="eglink" href="Str2Clr.html">Converting a String to a Predefined Color Value</a>
<br>
<br>
<a name="Shapes"></a><b>Shapes</b>
<hr>
e590. <a class="eglink" href="DrawBasic.html">Drawing Basic Shapes</a>
<br>
e591. <a class="eglink" href="FillBasic.html">Filling Basic Shapes</a>
<br>
e592. <a class="eglink" href="StrokeShape.html">Creating a Shape from a Stroked Shape</a>
<br>
e593. <a class="eglink" href="StrokeFill.html">Stroking or Filling a Shape</a>
<br>
e594. <a class="eglink" href="Pie.html">Drawing a Pie Chart</a>
<br>
<br>
<a name="Text"></a><b>Text</b>
<hr>
e595. <a class="eglink" href="DrawText.html">Drawing Simple Text</a>
<br>
e596. <a class="eglink" href="RotateText.html">Drawing Rotated Text</a>
<br>
e597. <a class="eglink" href="TextDim.html">Getting the Dimensions of Text</a>
<br>
<br>
<a name="Images"></a><b>Images</b>
<hr>
e598. <a class="eglink" href="LoadImage.html">Reading an Image or Icon from a File</a>
<br>
e599. <a class="eglink" href="DrawImage.html">Drawing an Image</a>
<br>
e600. <a class="eglink" href="TransformImage.html">Scaling, Shearing, Translating, and Rotating a Drawn Image</a>
<br>
e601. <a class="eglink" href="GrayIcon.html">Creating a Gray Version of an Icon</a>
<br>
<br>
<a name="The%20Screen"></a><b>The Screen</b>
<hr>
e602. <a class="eglink" href="screen_ScreenSize.html">Getting the Screen Size</a>
<br>
e603. <a class="eglink" href="screen_CenterScreen.html">Centering a Frame, Window, or Dialog on the Screen</a>
<br>
e604. <a class="eglink" href="screen_NumScreens.html">Getting the Number of Screens</a>
<br>
e605. <a class="eglink" href="screen_FullWin.html">Enabling Full-Screen Mode</a>
<br>
e606. <a class="eglink" href="screen_Flip.html">Double-Buffering in Full-Screen Mode</a>
<br>
e607. <a class="eglink" href="screen_GetDispModes.html">Getting the Available Screen Sizes, Refresh Rates, and Number of Colors</a>
<br>
e608. <a class="eglink" href="screen_ScreenBits.html">Getting the Current Screen Refresh Rate and Number of Colors</a>
<br>
e609. <a class="eglink" href="screen_SetDispMode.html">Setting the Screen Size, Refresh Rate, or Number of Colors</a>
<br>
<br>
<a name="Focus"></a><b>Focus</b>
<hr>
e610. <a class="eglink" href="focus_FindFocus.html">Determining Which Component or Window Has the Focus</a>
<br>
e611. <a class="eglink" href="focus_NoFocus.html">Preventing a Component from Gaining the Focus</a>
<br>
e612. <a class="eglink" href="focus_NoFocusWindow.html">Preventing a Window from Gaining the Focus</a>
<br>
e613. <a class="eglink" href="focus_FocusEvents.html">Listening to All Focus Changes Between Components in an Application</a>
<br>
e614. <a class="eglink" href="focus_FocusTravKeyComp.html">Setting Focus Traversal Keys in a Component</a>
<br>
e615. <a class="eglink" href="focus_FocusTravKey.html">Setting Focus Traversal Keys for the Entire Application</a>
<br>
e616. <a class="eglink" href="focus_FocusTrans.html">Moving the Focus to the Next or Previous Focusable Component</a>
<br>
e617. <a class="eglink" href="focus_NextFocus.html">Modifying the Focus Traversal Order</a>
<br>
e618. <a class="eglink" href="focus_InitialFocus.html">Setting the Initial Focused Component in a Window</a>
<br>
e619. <a class="eglink" href="focus_FindNextFocus.html">Finding the Next Focusable Component</a>
<br>
e620. <a class="eglink" href="focus_TempFocus.html">Determining If a Focus Lost Is Temporary or Permanent</a>
<br>
e621. <a class="eglink" href="focus_OppositeFocus.html">Determining the Opposite Component of a Focus Event</a>
<br>
e622. <a class="eglink" href="focus_ValidateFocus.html">Validating a JTextField When Permanently Losing the Focus</a>
<br>
e623. <a class="eglink" href="focus_RemoveFocus.html">Removing the Focus from the Application</a>
<br>
e624. <a class="eglink" href="focus_WindowFocus.html">Activating a Keystroke When Any Component in the Window Has Focus</a>
<br>
e625. <a class="eglink" href="focus_ChildFocus.html">Activating a Keystroke When Any Child Component Has Focus</a>
<br>
<br>
<a name="GridBagLayout"></a><b>GridBagLayout</b>
<hr>
e626. <a class="eglink" href="gridbag_Using.html">Creating a GridBagLayout</a>
<br>
e627. <a class="eglink" href="gridbag_Pos.html">Setting the Location of a Component in a GridBagLayout</a>
<br>
e628. <a class="eglink" href="gridbag_GetDim.html">Getting the Number of Rows and Columns of Cells in a GridBagLayout</a>
<br>
e629. <a class="eglink" href="gridbag_StretchAll.html">Making a GridBagLayout Fill the Container</a>
<br>
e630. <a class="eglink" href="gridbag_Stretch.html">Setting the Stretchyness of Rows and Columns in a GridBagLayout Using Layout Weights</a>
<br>
e631. <a class="eglink" href="gridbag_StretchComp.html">Setting the Stretchyness of Columns and Rows in a GridBagLayout Using Component Weights</a>
<br>
e632. <a class="eglink" href="gridbag_Fill.html">Setting the Stretchyness of a Component Within the Cell of a GridBagLayout Using Fill</a>
<br>
e633. <a class="eglink" href="gridbag_Anchor.html">Setting the Location of a Component Within the Cell of a GridBagLayout Using Anchors</a>
<br>
e634. <a class="eglink" href="gridbag_Inset.html">Setting the Space around a Component Within the Cell of the GridBagLayout Using Insets</a>
<br>
e635. <a class="eglink" href="gridbag_Ipad.html">Adjusting the Size of a Component in a GridBadLayout Using Internal Padding</a>
<br>
e636. <a class="eglink" href="gridbag_Max.html">Setting a Row or Column of a GridBadLayout to a Particular Size</a>
<br>
e637. <a class="eglink" href="gridbag_Gap.html">Setting Gap Sizes in a GridBadLayout</a>
<br>
<br>
<a name="Simulating%20Events"></a><b>Simulating Events</b>
<hr>
e638. <a class="eglink" href="MoveMouse.html">Moving the Cursor on the Screen</a>
<br>
e639. <a class="eglink" href="Simulate.html">Simulating Mouse and Key Presses</a>
<br>
<br>
<a name="Events"></a><b>Events</b>
<hr>
e640. <a class="eglink" href="DispatchKey.html">Listening to All Key Events Before Delivery to Focused Component</a>
<br>
</TD>
</TR>
</TABLE>
<br>
<FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="0">
© 2002 Addison-Wesley.
</FONT>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -