Initial commit. This code is wrong; it doesn't do the right thing at all. I'm fixing it.
We're on the right track again. It now tracks how many colors are within some threshold distance of the refence color. The next step is to make it pick the top k matches.
When I said "void method" I really meant "main method." I'm a little tired.
Everything works, and is cleaned up. Added the test color business from the C++ version to display the representative colors.
Added a class (ImageProc) to connect to and pull images from the database. This class will eventually read the reference colors from the database too. RepColors still completely ignores ImageProc, and will happily read arguments in from the command-line. Argument processing is not terribly robust, but should work with correctly specified arguments.

As of this commit, this project officially requires JDK 1.7 or higher.

Cleaned up the code a bit to deal with warnings.
Images are now pulled directly from the database. The command-line options could, perhaps, be more configurable, but that can be done in a future commit. Images are currently written to CSV files; in future, they should be loaded directly into the database.
Added methods to insert color matches into the database. Only "Full Light" images are processed now. This code now functions entirely independently of files, and deals only with the database.
Changed the queries in insertColorMatch to reflect the new database schema. It turns out that IMG_detail is indexed, not by textile_inst_id as I had though, but by textile_img_id. This variable in ImageItem has been refactored to reflect the change, and a new query now joins with the IMG_hdr to find the proper textile_inst_id.
Fixed some bugs with the file processing. It works now.
Implemented GUI.
Changed UI to make more sense for intended usage pattern. Added comments to several files. Added ID range to database processing.
Added the mysql.jar library xml file to the repo so it's a bit easier to run.
Got directory support working. Files named after their VT tracking numbers will now be processed and inserted directly into the database.
Added SQL script creation functionality. I also put the mysql-jdbc connector jar in the libs folder to make connection to MySQL databases a bit less painful.