1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-07-21 21:14:08 -07:00

Temporarily move components into a tabbed pane.

This commit is contained in:
Danila Fedorin 2017-07-26 15:35:59 -07:00
parent 56c7b6f15e
commit 0aa9646b84

View File

@ -163,8 +163,10 @@ public class Window extends JFrame {
sidePanel.add(numberSystemPanel, BorderLayout.NORTH);
sidePanel.add(functionSelectPanel, BorderLayout.SOUTH);
add(outputPanel, BorderLayout.CENTER);
add(sidePanel, BorderLayout.EAST);
JTabbedPane pane = new JTabbedPane();
pane.add("Calculator", outputPanel);
pane.add("Settings", sidePanel);
add(pane, BorderLayout.CENTER);
add(inputPanel, BorderLayout.SOUTH);
ActionListener actionListener = (event) -> {