mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-02 03:50:12 +02:00
Fixing scrollbar on history
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user