mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
* Added some error handling for connect to server action.
This commit is contained in:
parent
974951e18d
commit
ea8446d097
2 changed files with 32 additions and 3 deletions
|
|
@ -328,7 +328,9 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
|||
}
|
||||
|
||||
public void setWindowTitle() {
|
||||
setTitle(TITLE_NAME + " Client: " + version.toString() + " Server: " + ((session != null && session.isConnected()) ? session.getVersionInfo():"<not connected>"));
|
||||
setTitle(TITLE_NAME + " Client: "
|
||||
+ version == null ? "<not available>" : version.toString() + " Server: "
|
||||
+ ((session != null && session.isConnected()) ? session.getVersionInfo():"<not connected>"));
|
||||
}
|
||||
|
||||
private void addTooltipContainer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue