달력

112018  이전 다음

  •  
  •  
  •  
  •  
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  •  

'AWT'에 해당되는 글 2건

  1. 2009.06.24 아자 끝났다 부루마블!! (2)
  2. 2009.02.05 AWT 컴포넌트
자바프로젝트가 끝났다..
3일만에 끝냈다! 야호!!
처음 실행화면


주사위로 굴러가는 화면


네트워크 넣을려다 삽질한거 생각하면......
화가나지만 결국 못하고 제출한게 억울하다,..
이제 차세대만 남은건가 ...
아 다들 방학인데...

Posted by sukay

컴포넌트

생성자

주요 메소드

Label

Label()
Label(String str)
Label(String str, int alignment)

setText(String str)
getText()

Button

Button(String str)

setLabel(String str)
getlabel()
setActionCommand(String str)
addActionListener(ActionListener)

Checkbox

Checkbox()
Checkbox(String str)
Checkbox(String str, boolean onoff)
Checkbox(String str, CheckboxGroup group, boolean onoff)

setLabel(String str)
getLabel()
setState(boolean onoff)
getState()
addItemListener(ItemListener) 

Choice

Choice()

add(String str)
getItemCount()
getItem(int index)
remove(int index)
getSelectedItem()
insert(String str, int index)addItemListener(ItemListener)  

List

List()List(int rows)
List(int rows, boolean multipleModeOnOff)

add(String item)
remove(int index)
select(int index)
deselect(int index)addActionListenerActionListener) addItemListener(ItemListener)  

TextArea

TextArea()
TextArea(String str)
TextArea(int rows, int cols)TextArea(String str, int rows, int cols) 

append(String str)
setText(String str)
getText()
insert(String str, int index)getSelectionStart()
getSelectionEnd()
getSelectedText()
replaceRange(String str, int start, int end)
addTextListener(TextListner)  

TextField

TextField()
TextField(int cols)
TextField(String str)
TextField(String str, int cols)

setText(String str)
getText()addActionListener(ActionListener)

Scrollbar

Scrollbar(Scrollbar.VERTICAL)Scrollbar(Scrollbar.HORIZONTAL) 

 

Canvas

Canvas()

setSize(int x, int y)
setBackground(Color color)

Panel

Panel()
Panel(LayoutManager layout)

setSize(int x, int y)
setBackground(Color color)setLocation(int x, int y)
setLayout(LayoutManager layout)

ScrollPane

ScrollPane()
ScrollPane(int scrollbarDisplayPolicy)

setSize(int x, int y)

PopupMenu

PopMenu()
PopMenu(String label)

add(MenuItem(String str))
hide()
show(Component, int x, int y)
setVisile(boolean)  


**http://blog.naver.com/nban38/30032530278
Posted by sukay
TAG AWT, java