mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-27 12:46:22 +01:00
[Creator] Use own pack icon.
This commit is contained in:
parent
815383a3a8
commit
995d9433ad
@ -6,10 +6,9 @@
|
||||
|
||||
package com.skcraft.launcher.creator.model.swing;
|
||||
|
||||
import com.skcraft.launcher.Launcher;
|
||||
import com.skcraft.launcher.builder.BuilderConfig;
|
||||
import com.skcraft.launcher.creator.Creator;
|
||||
import com.skcraft.launcher.creator.model.creator.Pack;
|
||||
import com.skcraft.launcher.creator.dialog.ProblemViewer;
|
||||
import com.skcraft.launcher.swing.SwingHelper;
|
||||
|
||||
import javax.swing.*;
|
||||
@ -25,8 +24,8 @@ public class PackTableModel extends AbstractTableModel {
|
||||
public PackTableModel(List<Pack> packs) {
|
||||
this.packs = packs;
|
||||
|
||||
instanceIcon = SwingHelper.readImageIconScaled(Launcher.class, "instance_icon.png", 16, 16);
|
||||
warningIcon = SwingHelper.readImageIcon(ProblemViewer.class, "warning_icon.png");
|
||||
instanceIcon = SwingHelper.readImageIconScaled(Creator.class, "pack.png", 16, 16);
|
||||
warningIcon = SwingHelper.readImageIcon(Creator.class, "warning_icon.png");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 577 B |
Loading…
Reference in New Issue
Block a user