Back Forum Reply New

AbstractForm createCommitButton

Now is:
   protected final JButton createCommitButton() {       Assert.state(commitCommand != null, quot;Commit command has not been created!quot;);       return (JButton)commitCommand.createButton();   }

Will be better:
   protected final JButton createCommitButton() {       Assert.state(getCommitCommand() != null, quot;Commit command has not been created!quot;);       return (JButton) getCommitCommand().createButton();   }

I think. Isn't it?
¥
Back Forum Reply New