Constructor and Description |
---|
Component() |
Modifier and Type | Method and Description |
---|---|
void |
add(Component c) |
void |
add(int i,
Component c) |
void |
add(String str,
Component c) |
void |
addMouseListener(MouseAdapter l) |
void |
addWindowListener(WindowAdapter l) |
Toolkit |
getToolkit() |
void |
pack() |
void |
repaint() |
void |
setBorder(Component c) |
void |
setCursor(Cursor c) |
void |
setEditable(boolean b) |
void |
setEnabled(boolean b) |
void |
setForeground(Color c) |
void |
setLayout(BorderLayout l) |
void |
setLayout(BoxLayout l) |
void |
setPreferredSize(Dimension d) |
void |
setResizable(boolean b) |
void |
setSize(int i,
int j) |
void |
setTitle(String s) |
void |
setVisible(boolean b) |
public void setTitle(String s)
public void add(Component c)
public void add(int i, Component c)
public void setEnabled(boolean b)
public void setVisible(boolean b)
public void setEditable(boolean b)
public void setResizable(boolean b)
public void setSize(int i, int j)
public void setPreferredSize(Dimension d)
public void setBorder(Component c)
public void setLayout(BorderLayout l)
public void setLayout(BoxLayout l)
public void setCursor(Cursor c)
public void setForeground(Color c)
public void pack()
public void repaint()
public Toolkit getToolkit()
public void addMouseListener(MouseAdapter l)
public void addWindowListener(WindowAdapter l)