@Yancy10-1: When I asked Carl about causes for Index out of bounds error he mentioned this: "I am not an expert for this, but I know that this often indicates a problem with threading / concurrency. Especially between UI thread and others.
It can be problematic when trying to add or remove individual items in a list in another thread, when that list is not in the same thread. The solution can be to use concurrency-safe methods to populate a list (e.g. setAll) or multithreading-safe lists. This is not the default in Java and Java-lists (because performance), but you have to consider it during development."
Translated with www.DeepL.com/Translator (free version)
For methods about preventing index out of bounds issues, he refered me to these two websites:
https://www.baeldung.com/java-concurrency
https://www.baeldung.com/java-thread-safety
Found
Maybe it could be forked and adapted to only find issues in JabRef.
Hello everyone! My team is working on this JabRef/jabref#8762 and we are wondering if you had any suggestions (functions) for adding a column to the mainTable. (or which class / function is used to add columns in Preferences /Entry Table)
We have found a way to remove the column from the MainTable (which also removes it from the preferences/entry table) using a context menu we created (removing it just by comparing the names of the column in our context menu with the maintable when a user clicks an item from our context menu)
Anoop, there are different entry types. E.g. Article, book, misc or patent (see screenshot).
For each entry type there are specific fields REQUIRED and some OPTIONAL, as defined by BibTeX and BibLaTeX. JabRef follows these standards and offers two specific library modes by default: BibTeX library mode and BibLaTeX library mode. The required and optional fields CHANGE when you change the library mode.
As I understand it, all custom fields that users manually add to their library and that are NOT defined in these required and optional fields under options > customize entry types
will currently show in the other fields
tab.
About the code: I don't know exactly which classes and methods deal with that, but since you deleted some, I guess experimenting a little will eventually show you.
At the end of the day: It is not wanted to get rid of the various entry types. The task is NOT to get rid of these fields. The task is simply to let all the fields that are not part of an entry type to also show in the optional fields tab, but in a separate section (Maybe with title "Other fields" and/or separate colour/icon.
Anoop, there are different entry types. E.g. Article, book, misc or patent (see screenshot).
For each entry type there are specific fields REQUIRED and some OPTIONAL, as defined by BibTeX and BibLaTeX. JabRef follows these standards and offers two specific library modes by default: BibTeX library mode and BibLaTeX library mode. The required and optional fields CHANGE when you change the library mode.
As I understand it, all custom fields that users manually add to their library and that are NOT defined in these required and optional fields under
options > customize entry types
will currently show in theother fields
tab.About the code: I don't know exactly which classes and methods deal with that, but since you deleted some, I guess experimenting a little will eventually show you.
At the end of the day: It is not wanted to get rid of the various entry types. The task is NOT to get rid of these fields. The task is simply to let all the fields that are not part of an entry type to also show in the optional fields tab, but in a separate section (Maybe with title "Other fields" and/or separate colour/icon.
Thanks