i have tried to make paint application in java .... i have added the canvas to the center of the frame using borderlayout ... n then added the menubar ...using setmenubar option .... but whenever i click on the menubar ....the menuitems are overlapped by the canvas .... so please help me out
help please ...!!
Collapse
X
-
Tags: None
-
Hey, in order to help you, you should paste your code here so I know what you've been exactly trying to do.Originally posted by sugandhsethi have tried to make paint application in java .... i have added the canvas to the center of the frame using borderlayout ... n then added the menubar ...using setmenubar option .... but whenever i click on the menubar ....the menuitems are overlapped by the canvas .... so please help me out -
You aren't mixing Swing components with AWT components are you?Originally posted by sugandhsethi have tried to make paint application in java .... i have added the canvas to the center of the frame using borderlayout ... n then added the menubar ...using setmenubar option .... but whenever i click on the menubar ....the menuitems are overlapped by the canvas .... so please help me out
kind regards,
JosComment
Comment