I have a single window which is divided into left pane/frame and right pane/frame.
Left pane occupies 30% of the screen and is having categories, alligned in vertical manner.
What i want is when i click on a category, the right pane should show something based on it(which is simple) and (this is the place where m stuck and need help) want the subcategories to be displayed just below the category, which is being clicked, pushing the other categories below the subcategories !
Any pointers as to how can i achieve this in my application.
I am using swing/awt for my application !
As how I understand your question, you want to create a tree of categories.
You might want to check this document out:
JTree