java - Creating GUI why drag and drop is worse than writing a code? -


as title says, why better programmers write code create gui element. e.g. jtable, noob , used drag swing controls , drop there on panel. smarter way create jpanel in code, isn't it?

i can see 1 reason , later in gui class have easier access it.

so question why there both possibilities , 1 right 1 , 1 more professional?

edit: not asking on personal opinion asking better , reason. want know facts not opinions.

this entirely subjective, many people stay away gui builders several reasons:

  • they hide implementation details you, bad novices.
  • the code generate not meant fiddled humans, going in , changing code more difficult.
  • using gui builder adds dependency on gui builder, bad thing. if gui builder stops being maintained?

again though, entirely subjective, , whether use gui builder or code , context. isn't question so.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -