Can anybody tell me how to make a sidebar. There is nothing about sidebar in the XUL reference. I referred some old codes. But, I can't get where to edit. In those codes I have to create jar files frequently which annoys a lot. Can anybody show me a guidance, just a simple code to add a listbox in sidebar?

Edit:This code works. I edited the code in "emptysidebar.xul". But it didn't work.

I didnt downvote. But my link as loads of places you could look at. Or you could give what you tried
–
allen213Apr 20 '12 at 8:13

I did downvote. If you got the code in the documentation working then it should be obvious that emptysidebar.xul is the file loading into the sidebar - that's the one to change (at least if you bothered to read in addition to copying the code). If you didn't get this code to work you should be asking specific questions, not "plz show me teh codez".
–
Wladimir PalantApr 20 '12 at 11:42

@Wladimir I forgot to add a line.Read the question again. Besides I already mentioned "show me a guidance". If the code is my sole need then why I have to mention this. My primary goal is "sidebar". Not that specific code.
–
prabhakaranApr 20 '12 at 12:08