The Source for Java Technology Collaboration
User: Password:



Patrick Keegan

Patrick Keegan's Blog

Draft of Custom Desktop Database Tutorial

Posted by pkeegan on June 24, 2008 at 09:17 AM | Comments (11)

I have published a draft of an extended tutorial on creating desktop Java applications on netbeans.org. The tutorial is based on my recent series of blog posts. Thanks to everybody who provided questions and suggestions! A lot of them have been incorporated into the tutorial. Others are on my to-do list and are not forgotten.

The main things that appear in the tutorial that were missing from the blog are currency and date rendering and more customizations of table columns.

The tutorial needs some more polishing, but I think it's in a reasonably useful state. Let me know what you think.

By the way, I'm going on vacation tomorrow, so excuse the upcoming silence. Talk to you in three weeks.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Thank you very much, i found your tutorial quite illuminating, much better than the rest of tutorials on the subject in the netbeans website

    Posted by: gasdia73 on July 09, 2008 at 03:43 AM

  • The Bee's knees (English expression of appreciation I think)
    At last - an easy to follow tutorial that relates to real-life situations

    Thanks so much Mr Keegan - If I was in Prague I'd buy you a (probably several) beer(s)

    Next time you visit Yorkshire England.....

    Bye


    Jim Fergusson

    Posted by: waverley on July 09, 2008 at 07:31 AM

  • Thank you, Patrick, for your tutorial.
    But screenshot in step 5 is from step 4.
    And in my NB6.1 radiobutton "Table" in step 5 is disabled :(
    And sorry for my english.

    Posted by: capt on July 10, 2008 at 09:15 PM

  • Patrick thank you very much for your tutorial :)

    Posted by: melc on July 11, 2008 at 04:53 AM

  • Thank you, Patrick, for your tutorial.
    I would like to make it working with associations ManyToMany, however in this tutorial you have not talk about it, please if you can help me,I have a project which must be delivered soon.
    I 'm looking forward to hearing from you,
    Faithfully.
    .

    Posted by: mohammedamine on July 21, 2008 at 07:06 AM

  • Thanks for your wonderful tutorials! I'd be lost without them and now have a very solid basic understanding of beans binding and have begun applying them immediately.

    I'd really like to see more tutorials with more complex examples. One in particular would be how to bind the results from a join from two tables. I have a feeling that this isn't possible from within netbeans yet.

    Posted by: galaxyy on August 02, 2008 at 11:37 PM

  • Hello Patrick, Very nice tutorial and easy to follow. Thank you so much for the tutorials. By the way, If I add NEXT/PREVIOUS buttons to my EditClient JDialog how do I display the next/previous data result to the EditClient Fields. Thanks in advance!

    Posted by: lstr on August 06, 2008 at 04:52 AM

  • Tutorials like yours are in short supply - thanks a lot Patrick - a great help.

    Am I correct in assuming that applying these approaches with a view as the source of you records is no different than accessing tables directly?

    Posted by: sanantone on August 08, 2008 at 08:20 PM

  • I don't think the IDE's visual support enables you to generate entity classes based on views, but as far as I can tell, the Java Persistence API allows this. Perhaps you can hand-code some entity classes that use views instead of tables and build you application from there.

    BTW, what do you want to use views for? What is their advantage over using the tables directly?

    Posted by: pkeegan on August 11, 2008 at 10:14 AM

  • Hi Patrick,

    Thanks a lot for your very usefull tutorial : Creating a Custom Java Desktop Database Application. I am desperately looking for the same template with MDI windows support. I only found samples for Database application with a single window.
    I would like to have a Main MDI Application Frame with nothing on it and launch the customers managment window and orders management window from the Main frame menu. How can I manage this with Swing Application Framework, beans binding and JPA ?
    Thanks for your support.
    Best Regards
    Marc

    Posted by: mbusigny on September 04, 2008 at 02:12 PM

  • Marc,

    Good question. For the MDI effect, you could try adding a JDesktopPane to the main panel and then add JInternalFrames to the JDesktopPane. Then, in the Inspector window cut the components in the main panel and paste them into the first JInternalFrame. Then use the other internal frames for the content that is in the tutorial's dialogs. You can then follow the steps in http://weblogs.java.net/blog/pkeegan/archive/2008/08/im_back_from_va.htmlesktp to replace the modal behavior. Does that work?

    Posted by: pkeegan on September 05, 2008 at 01:26 AM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds