Enter to Send and Revising
* Revised style and improved object architecture * Added Enter to Send mechanism.
This commit is contained in:
@ -132,7 +132,7 @@ public class Startup {
|
||||
new StatusTrayIcon(chatWindow).show();
|
||||
|
||||
// If the tray icon is supported, hide the chat window on close
|
||||
if (Settings.getInstance().getCurrentOnCloseMode() == 1) {
|
||||
if (Settings.getInstance().getCurrentOnCloseMode() == true) {
|
||||
chatWindow.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
|
||||
} else {
|
||||
chatWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
Reference in New Issue
Block a user