切换
21文档网
类库大全
IT社区
开源文档
示例代码
速查表
在线工具
java包
java.awt
java.awt
组件
Invalidates, validates and repaint a component.
Use this static method if you want to center a component over another component.
Recursively enables or disables all the AWT components contained in the containers of components.
get All Components from AWT Container
align Components Base Horizontal
get Components from Container
align Components
center Component
overlap Components
get Component Parent
convert Point from on Component to Another Component
convert Rectangle from on Component to Another Component
Disables the forward and backward focus traversal keys on the given component.
enable Components
get Component Top level Ancestor
Adds a MouseListener to the component specified that will show the JPopupMenu specified (at the posi
容器
Returns all elements of a specific class from a container.
Gets the window ancestor of an event object.
get Bounds In Container Ancestor
光标
make Cursor
set Cursor
set Default Cursor
set Hand Cursor
set Wait Cursor
get Closed Hand Cursor
桌面
open pdf File
open Donation Link
open File With Desktop App
Display given url in the default browser.
Open the given URL in the system web browser.
字体
create AWT Bold Font
框架
center Frame
Graphics2D
set Graphics2D Color Render Default
set Graphics2D Color Render Quality
set Graphics2D Color Render Speed
set Graphics2D Render Default
set Graphics2D Render Quality
set Graphics2D Render Speed
turn Off Graphics2D Anti Aliasing
turn On Graphics2D Anti Alising
Draws polygon filled with color from points
Draws points and labels with their coords
Draw Triangle
draw Centered String
draw Right Aligned String
draw String
draw X Centered String
draw Y Centered String
Draw a diagonal cross at a specified location with a gap around the center
Draw a vertical cross at a specified location with a gap around the center
draw Shadowed String
attempt Image Draw
GraphicsDevice
merge All Screens via GraphicsDevice
get GraphicsDevice
Returns whether the given level of translucency is supported by the underlying system.
机器人
create Robot
Robot press Enter Key
Robot press Esc Key
Robot press Tab Key
Robot left Click Down
Robot del Text
Robot move Center
Robot right Click
Robot shift Add
is Mouse Right Click
get Mouse Button
is Mouse Right Or Control Click
TrayIcon
create Tray Icon
窗口
parent Window To Front
Makes a window visible - if invisible - and brings it to front.
position Component In Center Screen
load Window Size from Preferences
save Window Size to Preferences
center Window
Get Screen Working Height
Get Screen Working Width