The imports in CardDetailsPanel have been changed unnecessarily. This is because of the settings in Eclipse. Go to Window -> Preferences -> Java -> Code Style -> Organize Imports and remove all of the sorting rules. Then open CardDetailsPanel and push Ctrl-O.