|
@@ -18,6 +18,7 @@ import javax.swing.event.ChangeListener;
|
|
|
|
|
|
import ui.controller.Control;
|
|
import ui.controller.Control;
|
|
import ui.model.Model;
|
|
import ui.model.Model;
|
|
|
|
+import javax.swing.BoxLayout;
|
|
|
|
|
|
public class TimePanel extends JPanel {
|
|
public class TimePanel extends JPanel {
|
|
|
|
|
|
@@ -80,7 +81,7 @@ public class TimePanel extends JPanel {
|
|
// Panel
|
|
// Panel
|
|
timeBtnPanel.setBorder(null);
|
|
timeBtnPanel.setBorder(null);
|
|
timeBtnPanel.setBackground(Color.WHITE);
|
|
timeBtnPanel.setBackground(Color.WHITE);
|
|
- timeBtnPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 0, 0));
|
|
|
|
|
|
+ timeBtnPanel.setLayout(new BoxLayout(timeBtnPanel, BoxLayout.X_AXIS));
|
|
|
|
|
|
// Buttons
|
|
// Buttons
|
|
playBtn.setToolTipText("Play");
|
|
playBtn.setToolTipText("Play");
|