JList deviceList = new JList(devices);
deviceList.setBorder(new TitledBorder("Devices"));
centerpan.add(deviceList);
JPanel southpan = new JPanel();
southpan.add(new JButton("Properties"));
southpan.add(new JButton("Refresh"));
southpan.add(new JButton("Remove"));
southpan.add(new JButton("Print..."));
add(northpan, BorderLayout.NORTH);
add(centerpan, BorderLayout.CENTER);
add(southpan, BorderLayout.SOUTH);
pack();