// Path: src/main/java/gui/utils/Images.java
// public class Images {
// 
// 	public static final ImageIcon DEFAULT_ICON =
// 		new ImageIcon(Images.class.getResource("/img/icon.png"));
// 	public static final ImageIcon DEFAULT_LOGO =
// 		new ImageIcon(Images.class.getResource("/img/logo.png"));
// 
// 	public static final ImageIcon TRIANGLE =
// 		new ImageIcon(Images.class.getResource("/img/triangle.png"));
// 	public static final ImageIcon INVERTED_TRIANGLE =
// 		new ImageIcon(Images.class.getResource("/img/inverted_triangle.png"));
// 
// 	public static ImageIcon resize(ImageIcon icon, int width, int height) {
// 		return
// 			new ImageIcon(icon.getImage().getScaledInstance(width, height, 0));
// 	}
// 
// }


import java.awt.Component;
import javax.swing.JButton;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;
import gui.utils.Images;
package gui.views.components.renderers;




/**
 * Renderer for table columns that reorders rows
 *
 * @author Maxime PIA
 */
@SuppressWarnings("serial")
public class ReorderColumnRenderer extends DefaultTableCellRenderer {

	private static final JButton UP_BUTTON =
// Path: src/main/java/gui/utils/Images.java
// public class Images {
// 
// 	public static final ImageIcon DEFAULT_ICON =
// 		new ImageIcon(Images.class.getResource("/img/icon.png"));
// 	public static final ImageIcon DEFAULT_LOGO =
// 		new ImageIcon(Images.class.getResource("/img/logo.png"));
// 
// 	public static final ImageIcon TRIANGLE =
// 		new ImageIcon(Images.class.getResource("/img/triangle.png"));
// 	public static final ImageIcon INVERTED_TRIANGLE =
// 		new ImageIcon(Images.class.getResource("/img/inverted_triangle.png"));
// 
// 	public static ImageIcon resize(ImageIcon icon, int width, int height) {
// 		return
// 			new ImageIcon(icon.getImage().getScaledInstance(width, height, 0));
// 	}
// 
// }


// Path: src/main/java/gui/views/components/renderers/ReorderColumnRenderer.java
import java.awt.Component;
import javax.swing.JButton;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;
import gui.utils.Images;

package gui.views.components.renderers;




/**
 * Renderer for table columns that reorders rows
 *
 * @author Maxime PIA
 */
@SuppressWarnings("serial")
public class ReorderColumnRenderer extends DefaultTableCellRenderer {

	private static final JButton UP_BUTTON =
		new JButton(Images.resize(Images.TRIANGLE, 10, 10));