Fixing scrollbar on history
This commit is contained in:
parent
c8cfc57e5b
commit
e975ae6a5c
@ -162,7 +162,9 @@ public class MainWindow implements Runnable {
|
|||||||
historyListModel = new DefaultListModel();
|
historyListModel = new DefaultListModel();
|
||||||
historyList = new JList(historyListModel);
|
historyList = new JList(historyListModel);
|
||||||
historyList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
|
historyList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
|
||||||
historyListScroll = new JScrollPane(historyList);
|
historyListScroll = new JScrollPane(historyList,
|
||||||
|
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
|
||||||
|
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
|
||||||
historyButtonRemove = new JButton("Remove");
|
historyButtonRemove = new JButton("Remove");
|
||||||
historyButtonClear = new JButton("Clear");
|
historyButtonClear = new JButton("Clear");
|
||||||
historyButtonRerip = new JButton("Re-rip All");
|
historyButtonRerip = new JButton("Re-rip All");
|
||||||
|
Loading…
Reference in New Issue
Block a user