New UI Components

9th April 2011 | Posted by Boost Inspiration in WWW Fun | 6 Comment


Lessons learned in the comic strip below, Max would have to change thousands of lines of code just to put a new button implementation to work. Unfortunately, this happens in several languages that don't provide interfaces ..

ui components in New UI Components

In Java, for example, the Swing API has different components - like JButton, JTextField, etc. - that don't implement an interface that could improve this flexibility. It is common to find open source frameworks with rewritten components (e.g., XButton, XTextField, etc.) and the difficulty to replace them in a system that already uses Swing is not trivial. In the specific case of UI components, the use of Look-and-Feels is a step toward this goal, since we can change the appearance of the whole system by simply changing a few lines of code.

If you develop languages or frameworks, stay alert to this problem.

via CodeComics.com


About The Author

I am Waheed Akhtar, a freelance web designer from Dubai. I am also the founder and editor of Boost Inspiration, a blog to find creative and inspirational resources for Art, Web Design, Illustration, Photography and Typography. Don't forget to follow me on

Pinterest | Twitter | Facebook

  • http://bharatbuysell.com Anita khanna

    Very funny :D

  • Pingback: New UI Components (PIC) - ladyblu's posterous

  • Pingback: anacrismerino: New UI Components PIC

  • http://techdraginfo.blogspot.com/ shenoyjoseph

    funny discussions with cartoon characters

  • Shai

    That's complete nonsense.
    Its not as if you can just replace a complex framework like Swing, GWT, SWT or any other moderately complex UI toolkit with another just by coding to an interface.

    • Bold

      What article are you replying to? Because I don't think it is this one.

      I'm pretty sure the point of this article was that it *IS* difficult to replace a complex framework, and that you should find one that supports a method to change the look-and-feel so that you don't have to change out frameworks just to change the look of your app.

wordpress hit counter