BUG: No suitable method found for createIcon(Image,Camouflage,JLabel,Entity)
Closed this issue · 2 comments
HammerGS commented
After today's (June 30th) merges in IDEA MML throws the following
C:\IDEA_Workplace\megameklab\megameklab\src\megameklab\ui\dialog\MegaMekLabUnitSelectorDialog.java:160: error: no suitable method found for createIcon(Image,Camouflage,JLabel,Entity)
EntityImage entityImage = EntityImage.createIcon(base, Camouflage.of(PlayerColour.GOLD), labelImage, selectedEntity);
^
method EntityImage.createIcon(Image,Camouflage,Entity) is not applicable
(actual and formal argument lists differ in length)
method EntityImage.createIcon(Image,Image,Camouflage,Entity,int) is not applicable
(actual and formal argument lists differ in length)
method EntityImage.createIcon(Image,Image,Camouflage,Entity,int,boolean) is not applicable
(actual and formal argument lists differ in length)
HammerGS commented
This is also happening in MegaMek
SJuliez commented
I assume this was a short-term update problem that is no longer happening.