Skip to content

Commit a23d17b

Browse files
Update UI.java
1 parent fb15b22 commit a23d17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simplejavacalculator/UI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public UI() {
6666
image = new ImageIcon("icon/icon.png");
6767

6868
panel = new JPanel();
69-
panel.setLayout(new BoxLayout(panel, BoxLayout.PAGE_AXIS));
69+
panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
7070
panelSub1 = new JPanel(new FlowLayout());
7171
panelSub2 = new JPanel(new FlowLayout());
7272
panelSub3 = new JPanel(new FlowLayout());

0 commit comments

Comments
 (0)