File tree Expand file tree Collapse file tree
deb_release/sharedtable/DEBIAN
src/main/java/com/sharedtable Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Package: sharedtable
2- Version: 0.9
2+ Version: 1.0
33Maintainer: Gaál Péter
44Architecture: amd64
55Description: This is a Microsoft Paint like app, where multiple user can draw on the same canvas at the same time.
Original file line number Diff line number Diff line change @@ -482,6 +482,7 @@ private synchronized void handshakingProcess() {
482482 sendNetworkPasswordValidationResultOnSync (false );
483483 logger .info ("sending Network Password Validation Result: false" );
484484 handleScannerClose ();
485+ MessageBox .closeSyncWindow ();
485486 return ;
486487 } else {
487488 sendNetworkPasswordValidationResultOnSync (true );
@@ -495,6 +496,7 @@ private synchronized void handshakingProcess() {
495496 if (!receiveNetworkPasswordValidationResultOnSync ()) {
496497 MessageBox .showError ("Érvénytelen jelszó!" , "A megadott hálózati jelszó érvénytelen" );
497498 handleScannerClose ();
499+ MessageBox .closeSyncWindow ();
498500 return ;
499501 }
500502
Original file line number Diff line number Diff line change 88
99import java .util .Timer ;
1010import java .util .TimerTask ;
11+ import java .util .logging .Logger ;
1112
1213public class MessageBox {
1314 private MessageBox () {
@@ -58,7 +59,7 @@ public static void closeSyncWindow() {
5859 syncProcessView .closeWindow ();
5960 });
6061 } else {
61- throw new RuntimeException ( "SyncProcessView was not shown! " );
62+ Logger . getAnonymousLogger (). warning ( "sync window is null " );
6263 }
6364 }
6465
You can’t perform that action at this time.
0 commit comments