KeyBinding k1 = (KeyBinding)obj1; KeyBinding k2 = (KeyBinding)obj2;
ShortcutsOptionPane.KeyBinding k1 = (ShortcutsOptionPane.KeyBinding)obj1; ShortcutsOptionPane.KeyBinding k2 = (ShortcutsOptionPane.KeyBinding)obj2;
		public int compare(Object obj1, Object obj2)		{			KeyBinding k1 = (KeyBinding)obj1;			KeyBinding k2 = (KeyBinding)obj2;			String label1 = k1.label;			String label2 = k2.label;			if(col == 0)				return label1.compareTo(label2);			else			{				String shortcut1 = k1.shortcut;				String shortcut2 = k2.shortcut;				if(shortcut1 == null && shortcut2 != null)					return 1;				else if(shortcut2 == null && shortcut1 != null)					return -1;				else if(shortcut1 == null && shortcut2 == null)					return label1.compareTo(label2);				else					return shortcut1.compareTo(shortcut2);			}		}