Customers Java Swing Application with Source Code


I have developed the Customers Java Swing Application Demo. This application may be useful for developers who want to use Flamingo, Substance and SwingX.

Technology stack:

Model View Controller (MVC) vs Model View Presenter (MVP):

The Customers Java Swing Application Demo has MVC design pattern such as Java Swing. MVP is also popular for Desktop and RIA. Which is best, there are many discussions. Martin Fowler has written very good explanations for GUI Architectures. You may like to read.

Models and Services:

I have written entities with NamedQueries in JPA and Hibernate. The services are very simple with Generic AbstractService.


Full source code on Bitbucket

* Customers Java Swing Application images and icons credit: and


  1. Arian
    Jul 25, 2014 @ 08:08:00

    What is the version of the Flamingo that this example used? I downloaded the source from the project in github but the packages is different. The one that you are using also have slider package which is not available in the github source.

    I would like to have the doc jar, where could I found it for the version you are using?

    Thank you.


    • Cem Ikta
      Jul 25, 2014 @ 21:55:56


      This demo use Flamingo-Version: 4.1final Guenivere, Flamingo-BuildStamp: May 24, 2009 11:57:06 PDT (you can find in flamingo.jar > META-INF > file). I have Flamingo and Substance libs from,, This project sites were closed, details here.

      Unfortunetly, I haven’t javadocs from Flamingo and Substance libs.

      Best regards.


  2. Ilhama
    Nov 16, 2014 @ 23:25:41

    Hi.I can work this project my computer.i am download project on bitbucket and istall MySql 5.5 .How to work project ?


  3. hrama
    Nov 29, 2014 @ 05:25:55

    Hi. Great Project!
    I have a question to do, you are using reflection to get values from the class EntityTableColumn but this have a problem when the objects have inherited fields.
    Is there any way to get the inherited fields?


    • Cem Ikta
      Nov 29, 2014 @ 20:10:02


      You can set your class type in your EntityTableColumn as below:

      getTableModel().addColumn(new EntityTableColumn(
      "category", Category.class, 200));


  4. hrama
    Nov 30, 2014 @ 07:29:39

    Thanks For the answer!
    Perhaps I was not clear on the question.
    When i use the Entity Table Column with object with inherited Fields i have an error in the line

    Field field = entity.getClass().getDeclaredField(getFieldName());

    The error is java.lang.NoSuchFieldException: name.
    This is because the getDeclaredField method don’t support inherited fields, my question is if there is a way to obtain that field


    • Cem Ikta
      Dec 01, 2014 @ 18:11:49

      As far as I know, it should work, if that field has getters and setters. Can you write code snippet? then I can test in my project.


  5. Abhinandan
    Jan 21, 2015 @ 12:54:36

    Please give me link to download project


    • Cem Ikta
      Jan 21, 2015 @ 22:55:08

      Customers Java Swing Project source code hosted on Bitbucket, you can fork or download all files from the repository!


Leave a Reply