Skip to content

Commit

Permalink
Update user interface add membrane classes management column
Browse files Browse the repository at this point in the history
  • Loading branch information
quancs committed Jul 19, 2018
1 parent a8db083 commit 7e339b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/upsimulator/gui/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ public MainWindow() {
private void initialize() {
frmUpsimulator = new JFrame();
frmUpsimulator.setTitle("UPSimulator\r\n");
frmUpsimulator.setBounds(100, 100, 894, 811);
frmUpsimulator.setBounds(100, 100, 998, 811);
frmUpsimulator.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
frmUpsimulator.getContentPane().setLayout(new BorderLayout(0, 0));
frmUpsimulator.addWindowListener(new WindowListener() {
Expand Down Expand Up @@ -440,6 +440,7 @@ public void actionPerformed(ActionEvent e) {
projectPanel.add(separator_1, gbc_separator_1);

splitPane = new JSplitPane();
splitPane.setResizeWeight(0.5);
splitPane.setToolTipText("");
splitPane.setOneTouchExpandable(true);
GridBagConstraints gbc_splitPane = new GridBagConstraints();
Expand All @@ -450,12 +451,14 @@ public void actionPerformed(ActionEvent e) {
splitPane.setOrientation(JSplitPane.VERTICAL_SPLIT);

JPanel panel = new JPanel();
panel.setBorder(null);
panel.setBorder(new TitledBorder(null, "Membrane Classes", TitledBorder.LEADING, TitledBorder.TOP, null, null));
panel.setBackground(UIManager.getColor("Button.background"));
splitPane.setLeftComponent(panel);
panel.setLayout(new BorderLayout(0, 0));

modelFileJList = new JList<>();
modelFileJList.setBackground(new Color(255, 255, 255));
modelFileJList.setBorder(null);
modelFileJList.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent e) {
Expand Down

0 comments on commit 7e339b7

Please sign in to comment.