Updating image in table
问题 I'm currently creating an inventory system in which the user can select an item from their inventory list collection, and the icon on the right will update. As of now, I've implemented a ClickListener to get the currently selected item from the inventory list and called the .getImage() method that I created to get the icon of the selected item. I used table.add(image); to add the icon to the table. However, when the icon is added to the table, it fills up that space, and another column is