My first question is... is this the right forum for questions about the KoLmafia source code? I couldn't find any other place, so I'm posting here, but I honestly have no clue if this is wrong.
Second, I see LockableListModel being used a lot in the source code. This seems to be some sort of UI component, but it's being used to store data (I think) even when the GUI is turned off. What really does LockableListModel do? Some sort of synchronized UI list? But comments say that Lockable aspects have been removed, so it's purely a UI element, correct?
I ask because I am attempting to link the KoLmafia jar in a Swing-less Java environment (I use the CLI), and LockableListModel keeps causing NoClassDefFoundErrors. I was initially commenting out instances of LockableListModel, but I'm not sure if this would break the CLI as well, or if LockableListModel is only used in the GUI, and I could remove any occurrences of it without affecting the CLI.
I'd appreciate any help!
Second, I see LockableListModel being used a lot in the source code. This seems to be some sort of UI component, but it's being used to store data (I think) even when the GUI is turned off. What really does LockableListModel do? Some sort of synchronized UI list? But comments say that Lockable aspects have been removed, so it's purely a UI element, correct?
I ask because I am attempting to link the KoLmafia jar in a Swing-less Java environment (I use the CLI), and LockableListModel keeps causing NoClassDefFoundErrors. I was initially commenting out instances of LockableListModel, but I'm not sure if this would break the CLI as well, or if LockableListModel is only used in the GUI, and I could remove any occurrences of it without affecting the CLI.
I'd appreciate any help!