Added new Envoy logo designed by @DieGurke
This commit is contained in:
parent
c7c8ff977e
commit
b0b76984ea
@ -6,6 +6,7 @@ import java.awt.Font;
|
|||||||
import java.awt.GridBagConstraints;
|
import java.awt.GridBagConstraints;
|
||||||
import java.awt.GridBagLayout;
|
import java.awt.GridBagLayout;
|
||||||
import java.awt.Insets;
|
import java.awt.Insets;
|
||||||
|
import java.awt.Toolkit;
|
||||||
import java.awt.event.KeyAdapter;
|
import java.awt.event.KeyAdapter;
|
||||||
import java.awt.event.KeyEvent;
|
import java.awt.event.KeyEvent;
|
||||||
import java.awt.event.WindowAdapter;
|
import java.awt.event.WindowAdapter;
|
||||||
@ -59,7 +60,7 @@ public class ChatWindow extends JFrame {
|
|||||||
private Chat currentChat;
|
private Chat currentChat;
|
||||||
|
|
||||||
private JTextArea messageEnterTextArea;
|
private JTextArea messageEnterTextArea;
|
||||||
|
|
||||||
private static final Logger logger = Logger.getLogger(ChatWindow.class.getSimpleName());
|
private static final Logger logger = Logger.getLogger(ChatWindow.class.getSimpleName());
|
||||||
|
|
||||||
public ChatWindow(Client client, LocalDB localDB) {
|
public ChatWindow(Client client, LocalDB localDB) {
|
||||||
@ -70,6 +71,7 @@ public class ChatWindow extends JFrame {
|
|||||||
setBounds(100, 100, 600, 800);
|
setBounds(100, 100, 600, 800);
|
||||||
setTitle("Envoy");
|
setTitle("Envoy");
|
||||||
setLocationRelativeTo(null);
|
setLocationRelativeTo(null);
|
||||||
|
setIconImage(Toolkit.getDefaultToolkit().createImage(getClass().getClassLoader().getResource("envoy_logo.png")));
|
||||||
|
|
||||||
// Save chats when window closes
|
// Save chats when window closes
|
||||||
addWindowListener(new WindowAdapter() {
|
addWindowListener(new WindowAdapter() {
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 30 KiB |
BIN
src/main/resources/envoy_logo_alpha.png
Normal file
BIN
src/main/resources/envoy_logo_alpha.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
src/main/resources/envoy_logo_old.png
Normal file
BIN
src/main/resources/envoy_logo_old.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.0 KiB |
Reference in New Issue
Block a user