1
0
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:
sk89q 2015-07-24 11:41:15 -07:00
parent 815383a3a8
commit 995d9433ad
2 changed files with 3 additions and 4 deletions

View File

@ -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