]> git.gag.com Git - debian/openrocket/commit
Add slightly better sorting to the manufacturer and partno columns. It attempts...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Mon, 7 May 2012 01:34:23 +0000 (01:34 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Mon, 7 May 2012 01:34:23 +0000 (01:34 +0000)
commit80d99ee01c8c732f83bf0f20f3452cc0b6d4ade3
tree29983a4bdbbfa2356a5ff127c765b192416af0a6
parentc7addfc03992910545ca0ad1d0b435c1faf5c187
Add slightly better sorting to the manufacturer and partno columns.  It attempts to sort numeric portions of the strings separate from the alpha parts.  However, it isn't perfect because decimals (numbers containing '.') trips it up.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@651 180e2498-e6e9-4542-8430-84ac67f01cd8
core/src/net/sf/openrocket/gui/dialogs/preset/ComponentPresetTable.java
core/src/net/sf/openrocket/util/AlphanumComparator.java [new file with mode: 0644]