try {
urlFlavor =
new DataFlavor ("application/x-java-url; class=java.net.URL");
} catch (ClassNotFoundException cnfe) {
cnfe.printStackTrace();
}
super(new BorderLayout());
dropHereLabel = new JLabel ("Drop here",
SwingConstants.CENTER);
dropHereLabel.setFont (getFont().deriveFont (Font.BOLD, 24.0f));
add (dropHereLabel, BorderLayout.CENTER);
// set up drop target stuff
dropTarget = new DropTarget (dropHereLabel, this);
statusField = new JTextField (30);
statusField.setEditable(false);
add (statusField, BorderLayout.SOUTH);