1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-07-31 02:50:15 +02:00

Fixing scrollbar on history

This commit is contained in:
4pr0n
2014-03-11 23:54:36 -07:00
parent c8cfc57e5b
commit e975ae6a5c

View File

@@ -162,7 +162,9 @@ public class MainWindow implements Runnable {
historyListModel = new DefaultListModel();
historyList = new JList(historyListModel);
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");
historyButtonClear = new JButton("Clear");
historyButtonRerip = new JButton("Re-rip All");