/*
- * jSite - a tool for uploading websites into Freenet
- * Copyright (C) 2006 David Roden
+ * jSite - ProjectPage.java - Copyright © 2006–2011 David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
projectList = new JList(projectListModel);
projectList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
projectList.addListSelectionListener(this);
- projectList.setPreferredSize(new Dimension(150, projectList.getPreferredSize().height));
add(projectScrollPane = new JScrollPane(projectList), BorderLayout.LINE_START);
+ projectScrollPane.setPreferredSize(new Dimension(150, projectList.getPreferredSize().height));
add(createInformationPanel(), BorderLayout.CENTER);
}