Added Icon

This commit is contained in:
Didier Clermonté 2016-05-26 22:37:55 +02:00
parent e496eb909b
commit 55b626ead7
6 changed files with 17 additions and 7 deletions

View File

@ -16,3 +16,10 @@ TODO
For unit tests, install the TestNG:
* https://marketplace.eclipse.org/content/testng-eclipse
* Eclipse menu > Help > Eclipse Marketplace > Find "TestNG" > TestNG for Eclipse: Install button
# LOGO
Cat-Box-32x32.png
http://www.iconspedia.com/icon/cat-box-icon-47051.html
Author: Iconka, http://iconka.com/
License: CC Attribution

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@ -28,14 +28,15 @@ import org.dclermonte.siba.gui.SibaGUI;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* This class Siba stands for Simple Backup. This is the main class.
*
*
* @param args
*/
public class Siba
{
/**
* This class Siba stand for Simple Backup. This is the main class.
*
*
* @param args
*/
private static final Logger logger = LoggerFactory.getLogger(Siba.class);
public static void main(final String[] args)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -153,7 +153,7 @@ public class SibaGUI
{
this.frmSimpleBackup = new JFrame();
this.frmSimpleBackup.setIconImage(Toolkit.getDefaultToolkit()
.getImage(SibaGUI.class.getResource("/org/dclermonte/siba/Cat-Box-256.png")));
.getImage(SibaGUI.class.getResource("/org/dclermonte/siba/gui/Cat-Box-32x32.png")));
this.frmSimpleBackup.getContentPane().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
this.frmSimpleBackup.setMinimumSize(new Dimension(600, 400));
this.frmSimpleBackup.getContentPane().setBackground(new Color(173, 255, 47));

View File

@ -62,6 +62,7 @@ public class SibaManager
public static File backup(final File fileToSave, File target) throws SibaException
{
File result;
try
{
if ((fileToSave == null) || !(fileToSave.exists()))
@ -112,6 +113,7 @@ public class SibaManager
Closeable out = null;
IOUtils.closeQuietly(out);
}
//
return result;
}