Commit graph

20 commits

Author SHA1 Message Date
vraskulin
0557b5e89c list.size > 0 changed to !list.isEmpty
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
vraskulin
076840df53 Big refactoring
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final  variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3)  Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
LevelX2
d7dd635bca Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…" 2016-09-16 23:55:54 +02:00
ingmargoudt
f1cf9e7adb introduced StringUtil class with .isEmpty(String input) and .isNotEmpty(String input), to replace str != null && str.length()>0 statements 2016-09-16 21:23:31 +02:00
draxdyn
9513b5bf74 Don't call setText in MageTextArea if the text hasn't changed
Minor UI speedup, shows up in profiles for simple games.
2016-06-23 16:21:34 +02:00
Fenhl
430ae503c7 Change all line endings to LF 2016-04-14 16:18:01 +00:00
LevelX2
dd9431c8ea * Added scrolling to the game dialog area. Some more GUI resizing. Removed some unwanted borders of viewports. 2016-03-05 21:00:55 +01:00
LevelX2
e15807b9ed * Some more changes to adjustment possibilities of GUI size. 2016-02-19 16:30:52 +01:00
LevelX2
5ca4e3bc7a Some more changes to GUI to better support high screen resolutions. 2016-02-16 23:15:34 +01:00
LevelX2
df3e6db569 Please test! Some changes to the display of user choices, showing also a longer text in tooltip window. 2015-06-28 21:55:48 +02:00
LevelX2
2198a01781 Changed font for feedback area from "times" to logical java font "Dialog". 2015-03-18 10:07:03 +01:00
LevelX2
b352217e17 Some improvements to split card handling. Better display of tooltip of split cards, also added handling if not cast from hand. 2013-05-09 21:26:15 +02:00
magenoxx
7bcd512351 Not included changes (can be ignored for now) 2012-06-28 16:40:46 +04:00
magenoxx
a8588c1c83 Added displaying 'Your turn' message 2012-06-27 15:35:37 +04:00
magenoxx
75e641580c Displaying text in helper component. Removed feedback component 2012-06-27 15:07:01 +04:00
magenoxx
818d601cbb Fixed set codes and mana symbols in pay and tooltips. 2011-09-02 08:08:35 +04:00
North
e8426e6e71 Removed a couple of duplicate files. 2011-09-02 00:18:04 +03:00
magenoxx
44b48a3722 Reduced font in feedback panel. 2011-06-15 23:08:57 +04:00
magenoxx
b2ba439a48 Playing with Client UI. 2011-06-08 21:18:09 +04:00
magenoxx
b9eba43ccf New feedback panel (supports mana symbols). 2010-12-25 22:52:16 +03:00