Renamed SibaLogo + added on about
This commit is contained in:
parent
ef75b06e73
commit
5a3c7f863c
@ -18,7 +18,7 @@ For unit tests, install the TestNG:
|
||||
* Eclipse menu > Help > Eclipse Marketplace > Find "TestNG" > TestNG for Eclipse: Install button
|
||||
|
||||
# LOGO
|
||||
Cat-Box-32x32.png
|
||||
SibaLogo comes from Cat-Box-32x32.png
|
||||
http://www.iconspedia.com/icon/cat-box-icon-47051.html
|
||||
|
||||
Author: Iconka, http://iconka.com/
|
||||
|
@ -24,11 +24,14 @@ import java.awt.Color;
|
||||
import java.awt.Cursor;
|
||||
import java.awt.FlowLayout;
|
||||
import java.awt.Font;
|
||||
import java.awt.Toolkit;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
|
||||
import javax.swing.ImageIcon;
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JDialog;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.JTextPane;
|
||||
|
||||
@ -50,6 +53,8 @@ public class AboutDialog extends JDialog
|
||||
*/
|
||||
public AboutDialog()
|
||||
{
|
||||
setIconImage(Toolkit.getDefaultToolkit()
|
||||
.getImage(AboutDialog.class.getResource("/org/dclermonte/siba/gui/SibaLogo.png")));
|
||||
setBackground(Color.GREEN);
|
||||
getContentPane().setBackground(Color.GREEN);
|
||||
setBounds(100, 100, 450, 300);
|
||||
@ -80,6 +85,11 @@ public class AboutDialog extends JDialog
|
||||
JPanel panel = new JPanel();
|
||||
panel.setBackground(Color.GREEN);
|
||||
getContentPane().add(panel, BorderLayout.CENTER);
|
||||
{
|
||||
JLabel lblNewLabel = new JLabel("");
|
||||
lblNewLabel.setIcon(new ImageIcon(AboutDialog.class.getResource("/org/dclermonte/siba/gui/SibaLogo.png")));
|
||||
panel.add(lblNewLabel);
|
||||
}
|
||||
|
||||
JTextPane txtpnSimpleBackupDveloppeur = new JTextPane();
|
||||
txtpnSimpleBackupDveloppeur.setBackground(Color.GREEN);
|
||||
|
@ -32,7 +32,6 @@ public class CheckDirectorySelector extends JFileChooser
|
||||
{
|
||||
super();
|
||||
setBackground(new Color(152, 251, 152));
|
||||
|
||||
//
|
||||
File file;
|
||||
if ((targetFile == null) || (StringUtils.isBlank(targetFile.getAbsolutePath())))
|
||||
|
@ -159,7 +159,7 @@ public class SibaGUI
|
||||
{
|
||||
this.frmSimpleBackup = new JFrame();
|
||||
this.frmSimpleBackup.setIconImage(Toolkit.getDefaultToolkit()
|
||||
.getImage(SibaGUI.class.getResource("/org/dclermonte/siba/gui/Cat-Box-32x32.png")));
|
||||
.getImage(SibaGUI.class.getResource("/org/dclermonte/siba/gui/SibaLogo.png")));
|
||||
this.frmSimpleBackup.getContentPane().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||
this.frmSimpleBackup.setMinimumSize(new Dimension(600, 400));
|
||||
this.frmSimpleBackup.getContentPane().setBackground(Color.GREEN);
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user