-
AWT(Abstract Windowing Toolkit)
-Dfile.encoding=MS949
java.lang.System
.exit() // static
* 배치관리자(Layout Manager)
c.f. java.awt.Container
BorderLayout
.NORTH
.WEST
.CENTER
.EAST
.SOUTH
java.awt.FlowLayout
java.awt.BorderLayout
java.awt.GridLayout
* 이벤트 리스너
c.f. 이벤트 소스
java.awt.event.ActionEvent
.getSource()
java.awt.event.ActionListener // interface
c.f. java.awt.Button::addActionListener()
void actionPerformed(ActionEvent)
java.awt.event.WindowAdapter // abstract
c.f. java.awt.Window::addWindowListener()
void windowClosing(WindowEvent e) // abstract?
*
java.awt.Color
.red
java.awt.Component
.setBackground()
.repaint()
java.awt.Button -> java.awt.Component
.addActionListener()
java.awt.event.ActionListener // interface
void actionPerformed(ActionEvent)
java.awt.event.ActionEvent
java.awt.Container -> java.awt.Component
.setLayout()
java.awt.FlowLayout
.add()
java.awt.Panel -> java.awt.Container
java.awt.Window -> java.awt.Container
.dispose()
.setSize()
.pack()
.setVisible()
.addWindowListener()
java.awt.event.WindowAdapter // abstract
java.awt.Frame -> java.awt.Window
.setMenuBar()java.awt.Dialog -> java.awt.Window.show() // Deprecatedjava.applet.Applet -> java.awt.Panel.getDocumentBase().getImage()appletviewer