Thas' nice. It gets annoying when people start asking how to submit their spade data in the KoL forum's discussion thread.
Yeah. One such post popped up in the GD (yeah, I know) thread while I was working on this. Might as well change it while I'm in there.
I cleaned up some of your formatting and submitted it in Revision 9460. Thanks.
Cheers.
Minor future-proofing bug that I didn't catch in time: right now, there need to be at least as many tooltips as there are list elements, otherwise there is an out-of-bounds exception in DisabledItemsComboBox at runtime when the box is clicked, as it tries to access an array element that doesn't exist.
DisabledItemsComboBox.java line 193:
Code:
list.setToolTipText( (String)getTooltips().get( index ) );
should be
Code:
if( index < this.getTooltips().size() )
{
list.setToolTipText( (String)getTooltips().get( index ) );
}
else
{
list.setToolTipText( null );
}
So if new demon names are added without adding new tooltips, the combobox won't blow up.