Desktop Applications with Java Swing

I’ve developed a long-time desktop applications with different languages​​. Gupta Team Developer was good with SQL-Databases, Visual Basic was simple and fast, Delphi was very nice with components. But Java Swing was quite different. In Swing, you had to write lots of code but you could easily to create your own swing component.

It was in swing very nice components, libs, look and feels like Substance, Flamingo, JGoodies, MigLayout, SwingX etc.

Unfortunately, Java Swing is no longer developed. Oracle wants to use JavaFX as a standard desktop and RIA components (in Java 8 already? Maybe, JavaFX 2.2 is now co-bundled with JDK 7u6 for Windows, Mac and GNU/Linux).

For a long time I’m doing web projects using Java, Python and Ruby. But I now have a new desktop application written in Swing. The Screenshots here:

22 Comments

  1. Tobias
    Feb 22, 2012 @ 21:16:38

    Das Programm sieht nice aus,.
    Den Code dazu stellst du nicht zufällig zur Verfügung?

    Reply

    • Cem Ikta
      Feb 23, 2012 @ 00:33:00

      Hi Tobias,

      Danke für deine Feedback, das Programm habe ich für meine Firma entwickelt, leider veröffentlicht meine Firma den Code nicht. Aber du kannst die gleiche Components benutzen. Alle sind open source und gibt es gute Code Beispiele. Substance und Flamingo (Swing Ribbon) Components sind von Kirill Grouchnikov und detaillierte Informationen in seinem Blog. Auch hier Substance Samples projekt.

      Reply

  2. Vidhi
    Apr 26, 2012 @ 12:22:01

    This is really good. Can I get source code?

    Reply

    • Cem Ikta
      Apr 26, 2012 @ 12:34:05

      Hi,

      Thanks for your feedback, the program I developed for my company, my company unfortunately does not publish the code. But you can use the same components. All are open source and there are good code examples. Substance and Flamingo (Ribbon Swing) Components are by Kirill Grouchnikov and detailed information on his blog and here Substance Samples project.

      Reply

  3. venkat
    Nov 29, 2012 @ 19:27:23

    hi..
    i wish to create a desktop application can u help me , I want to create a application like google talk in local lan so want i want to do.

    Reply

    • Cem Ikta
      Nov 30, 2012 @ 12:47:17

      Hi, how can i help you?

      Reply

      • venkat
        Dec 01, 2012 @ 13:01:32

        just give me an idea , what are to use and how to do it….

        Reply

        • Cem Ikta
          Dec 01, 2012 @ 14:55:22

          Java Swing is no longer developed. You can create desktop applications with JavaFX better. JavaFX has many advantages.

          Happy coding.

          Reply

  4. Ale
    Feb 23, 2013 @ 12:01:17

    Hi, I developed some years ago a java desktop application with swing, now we are ready to make new version of this application and I’m looking for javafx. My question is: is it possible to make a cad application with java fx or is better to use swing again? The application in very big with many interaction with user ( as a cad application user con modify polyline, adding point, moving it, changing type and so on).
    I read many documentation about javafx but I’m not sure to be able to do all the things that I make with swing?
    Can someone help me?thanks

    Reply

    • Cem Ikta
      Feb 24, 2013 @ 18:38:23

      Hi,
      I believe that you can do better with JavaFX than Swing. I think that drag and drop, canvas functions are important for CAD applications and JavaFX has better drag and drop, canvas options. But JavaFX is new and not all Swing components and libs there.

      Swing is no longer developed and Swing has its limits. Therefore I would continue to develop with JavaFX.

      Reply

  5. Karim
    Jan 10, 2014 @ 21:18:57

    Hi , i tool very cool this look ; i want from you to give me the method to use the flamingo library , i’ve tried more and more and always gave me errors , i don’t know how to use it clearly without errors please help me

    Reply

    • Cem Ikta
      Jan 10, 2014 @ 23:34:03

      Hi,
      Thanks, I am developing an open source demo with Flamingo, Ribbon and Substance. I hope that I can publish next week.

      Reply

      • Karim
        Jan 11, 2014 @ 02:31:44

        Thanks a lot :) i will waiting for it

        Reply

  6. Karim
    Jan 11, 2014 @ 02:34:32

    JavaFx has a limit in supporting languages p/exemple arabic language

    Reply

  7. Cem Ikta
    Jan 27, 2014 @ 22:40:54

    Another Java Swing Application Demo with Source Code:
    http://www.devsniper.com/customers-java-swing-application-with-source-code/

    Reply

  8. kimku
    Jul 01, 2014 @ 10:04:13

    Hi ,

    I am developing a JAVA desktop analytical app using swing similar to your app. I do not have a database, but I am using a JSON file as my data source, which is read by the application and store the value in an arraylist. I have created the model with all the objects. Now I need to create the UI. I have a JSON Parser class. Where should I call the parser class? what is the best design approach for this application, should I have a controller or just a view and model will suffice?. I have created some UI components and have been able to get the data on to the UI but my application is not extensible. So can you tell me what will be the best design approach

    thanks for you help

    Reply

    • Cem Ikta
      Jul 01, 2014 @ 12:17:00

      Hi,

      If you use MVC(Model View Controller) design pattern, you should read your data in controller or if you use MVP(Model View Presenter) design pattern, you should read your data in presenter. I have developed the Customers Java Swing Application Demo with MVC design pattern, maybe useful for you ;)

      Best regards.

      Reply

      • kimku
        Jul 01, 2014 @ 13:47:59

        Hi thanks for replying :)
        I had checked out your MVC model and found it not suitable for my app as I dont have a database and I am already storing the objects in array list, but MVP design pattern sound more promising to meet my requirement. Do you have any sample application based on MVP ?

        Thanks and Regards,
        Kimku

        Reply

        • Cem Ikta
          Jul 01, 2014 @ 14:26:34

          Data source is no problem, you can use database or json, you can parse json in your controller’s getData() method and return json ArrayList as data for your UI-Components. It works with controller. Unfortunately I haven’t MVP sample application yet.

          Best regards.

          Reply

          • kimku
            Jul 02, 2014 @ 09:54:51

            Thankyou verymuch for the info. It was a great help. I will try it.

            Regards,
            Kimku

  9. Warren
    Nov 15, 2014 @ 19:36:03

    Good day Cem Ikta

    I’m starting to create a Java app built from Swing and JavaFX, with JRibbonFrame and JRibbon from pushingpixels. I noticed in the tutorial that the sample app containing the JRibbon is undecorated and the title bar, minimize, maximize and close button are placed on top of the JRibbon. Here’s the link of the screenshot of the app : https://platform.netbeans.org/images/tutorials/ribbon/briefcase_16.png.

    I manage to set my app undecorated, but placing the minimize, maximize, and close button on top of the JRibbon is still a mystery for me. How could this be done? Please help.

    Reply

    • Warren
      Nov 15, 2014 @ 20:13:10

      Thanks for the demo App. i got it right now.

      Reply

Leave a Reply