Skip to content

2024-August-23 - 2.7.14862

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Aug 22:31
be37ef5
tab Players - tooltips for technologies (#12853)

* Fix issue 12826 (UnitSeparator#categorize:213 - java.util.ConcurrentModificationException)

PlacePanel.java
- new method updateUnitsInUnitsToPlacePanel that ensures copying the unit collection (existed already in method updateStep, but not in gameDataChanged or updateUnits)
- Cleanup: extract new methods from declaration of variable placeMapSelectionListener which are getUnitsToPlace, getScrollPaneFromChooser, getPreferredHeight and getPreferredWidth

* PlayerUnitsPanel ToDo done via redraw

Replace
invalidate(); validate(); revalidate();getParent().invalidate();
with SwingComponents.redraw(this);

* tab Players - tooltips for technologies

Smaller fixes:
- SwingConstants instead of JLable
- method setStatColumns with List.toArray
- rename gameData to gameDataSync
- introduce synchronized method TechTableModel.getDataAndInitRowMap()