Thursday, January 14, 2010

XML to JMenuBar

I was designing a swing UI for some project and thought that menu should be configurable and readable through XML so that when I want to add new item or rearrange than I don't need to recompile. Also there should be easy way to use in different locale and the application should be able to use it with ease and without sacrificing any flexibility. I tried googling for it but couldn't found any such thing. Hence I am writing this piece of code.


1 comment:

  1. I was not searching with right keywords, and when I did...I found exactly what I was looking for

    http://kenai.com/projects/dynamicmenu/pages/Home

    ReplyDelete