java.awt class Window

eyelashesnectarineΛογισμικό & κατασκευή λογ/κού

3 Νοε 2013 (πριν από 3 χρόνια και 11 μήνες)

142 εμφανίσεις




java.
awt

class Window


void

setSize(int width, int height)


void

setVisible(
boolean

visible)





j
ava.awt

c
lass

Frame



Frame()



Frame(String title)



Frame(GraphicsConfiguration gc)



Frame(String title, GraphicsConfiguration gc)


String

g
etTitle()


boolean

isResizable()


void

setBackground(Color bgColor)


void

setTitle(String title)


void

setResiable(
boolean

resizable)





java.awt

class color


static Color

black
或是


BLACK


static Color

blue
或是

B L U E


s t a t i c C o l o r

c y a n


s t a t i c C o l o r

d a r k G r a y
或是

D A R K _ G R A Y


s t a t i c C o l o r

g r a y


s t a t i c C o l o r

g r e e n


s t a t i c
C o l o r

l i g h t G r a y
或是

L I G H T _ G R A Y


s t a t i c C o l o r

m a g e n t a


s t a t i c C o l o r

o r a n g e


s t a t i c C o l o r

p i n k


s t a t i c C o l o
r

r e d


s t a t i c C o l o r

w h i t e


s t a t i c C o l o r

y e l l o w



C o l o r ( i n t r, i n t g, i n t b )



C o l o r ( f l o a t r, f l o a t b, f l o a t b )


j a v a x
.s w i n g

c l a s s

J F r a m e


s t a t i c i n t

E X I T _ O N _ C L O S E



J F r a m e
()



JFrame(GraphicsConfiguration gc)



JFrame(String title)



JFrame(Stri
ng title GraphicsConfiguration gc)


void

setDefaultCloseOperation(int operation)





java.awt.event.WindowListenerr

interface WindowListener


void

windowActivated(WindowEvent e)


void

windowClosed(WindowEvent e)


void

windowClosing(WindowEvent e)


void

windowDeactivated(WindowEvent e)


void

windowDeiconified(WindowEvent e)


void

windowIconified(WindowEvent e)


void

window
Opened
(WindowEvent e)