chainList.setLayoutOrientation(JList.VERTICAL);
chainList.setSelectedIndex(0);
chainList.setVisibleRowCount(4);
chainList.addListSelectionListener(this);
listModel = new SequenceListModel(chain.getAtomSequence());
sequenceList = new JList(listModel);
sequenceList.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
sequenceList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
sequenceList.setVisibleRowCount(1);
sequenceList.addListSelectionListener(this);