mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-24 08:12:39 -08:00
Temporarily move components into a tabbed pane.
This commit is contained in:
parent
56c7b6f15e
commit
0aa9646b84
|
@ -163,8 +163,10 @@ public class Window extends JFrame {
|
||||||
sidePanel.add(numberSystemPanel, BorderLayout.NORTH);
|
sidePanel.add(numberSystemPanel, BorderLayout.NORTH);
|
||||||
sidePanel.add(functionSelectPanel, BorderLayout.SOUTH);
|
sidePanel.add(functionSelectPanel, BorderLayout.SOUTH);
|
||||||
|
|
||||||
add(outputPanel, BorderLayout.CENTER);
|
JTabbedPane pane = new JTabbedPane();
|
||||||
add(sidePanel, BorderLayout.EAST);
|
pane.add("Calculator", outputPanel);
|
||||||
|
pane.add("Settings", sidePanel);
|
||||||
|
add(pane, BorderLayout.CENTER);
|
||||||
add(inputPanel, BorderLayout.SOUTH);
|
add(inputPanel, BorderLayout.SOUTH);
|
||||||
|
|
||||||
ActionListener actionListener = (event) -> {
|
ActionListener actionListener = (event) -> {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user