Skip to content

Commit 998adb8

Browse files
authored
Update JFrame.md
1 parent 498240f commit 998adb8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/swings/JFrame.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ The javax.swing package provides classes for java swing API such as JButton, JTe
1111
The methods of Component class are widely used in java swing that are given below.
1212

1313
|Method |Description|
14-
|----|------|
15-
|public void add(Component c) |add a component on another component.|
16-
|public void setSize(int width,int height)| sets size of the component.|
17-
|public void setLayout(LayoutManager m) |sets the layout manager for the component.|
18-
|public void setVisible(boolean b) |sets the visibility of the component. It is by default false.|
14+
|----|------|
15+
|public void add(Component c) |add a component on another component.|
16+
|public void setSize(int width,int height)| sets size of the component.|
17+
|public void setLayout(LayoutManager m) |sets the layout manager for the component.|
18+
|public void setVisible(boolean b) |sets the visibility of the component. It is by default false.|
1919
2020
------
2121

0 commit comments

Comments
 (0)