Nitin Surana wrote:Which layout manager are you using? We need to have a look at your code, in order to figure out what is going wrong.
its a big project and lot of code so i cant put the code here
but as far as layout is concern i guess menu bar uses box layout isn't it ?
and i m adding jtextfield to menu bar
when ever i put textfield in jscrollpane it appears at the right hand side but with a long width
but if i remove jscrollpane and just add the jtextfield into menu bar the white area appears till help menu or sometimes overlap help menu
but my search
word inside search textfield remain at the right most part of menubar