Invert setter(getter)
I think it would be great if we could invert a setter(getter) setup just like you can invert an IF statement...
Example:
txtNum.setText(obj1.getName());
Inverse this to:
obj1.setName(txtNum.getText());
it would make some GUI items a bit quicker to code.
请先登录再写评论。