Added Icon
This commit is contained in:
parent
e496eb909b
commit
55b626ead7
@ -16,3 +16,10 @@ TODO
|
|||||||
For unit tests, install the TestNG:
|
For unit tests, install the TestNG:
|
||||||
* https://marketplace.eclipse.org/content/testng-eclipse
|
* https://marketplace.eclipse.org/content/testng-eclipse
|
||||||
* Eclipse menu > Help > Eclipse Marketplace > Find "TestNG" > TestNG for Eclipse: Install button
|
* 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 |
@ -28,14 +28,15 @@ import org.dclermonte.siba.gui.SibaGUI;
|
|||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class Siba stands for Simple Backup. This is the main class.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @param args
|
||||||
|
*/
|
||||||
public class Siba
|
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);
|
private static final Logger logger = LoggerFactory.getLogger(Siba.class);
|
||||||
|
|
||||||
public static void main(final String[] args)
|
public static void main(final String[] args)
|
||||||
|
BIN
src/org/dclermonte/siba/gui/Cat-Box-32x32.png
Normal file
BIN
src/org/dclermonte/siba/gui/Cat-Box-32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
@ -153,7 +153,7 @@ public class SibaGUI
|
|||||||
{
|
{
|
||||||
this.frmSimpleBackup = new JFrame();
|
this.frmSimpleBackup = new JFrame();
|
||||||
this.frmSimpleBackup.setIconImage(Toolkit.getDefaultToolkit()
|
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.getContentPane().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||||
this.frmSimpleBackup.setMinimumSize(new Dimension(600, 400));
|
this.frmSimpleBackup.setMinimumSize(new Dimension(600, 400));
|
||||||
this.frmSimpleBackup.getContentPane().setBackground(new Color(173, 255, 47));
|
this.frmSimpleBackup.getContentPane().setBackground(new Color(173, 255, 47));
|
||||||
|
@ -62,6 +62,7 @@ public class SibaManager
|
|||||||
public static File backup(final File fileToSave, File target) throws SibaException
|
public static File backup(final File fileToSave, File target) throws SibaException
|
||||||
{
|
{
|
||||||
File result;
|
File result;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if ((fileToSave == null) || !(fileToSave.exists()))
|
if ((fileToSave == null) || !(fileToSave.exists()))
|
||||||
@ -112,6 +113,7 @@ public class SibaManager
|
|||||||
Closeable out = null;
|
Closeable out = null;
|
||||||
IOUtils.closeQuietly(out);
|
IOUtils.closeQuietly(out);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user