SpagehtiSauce
Newbie
Joined: 05/10/2010 18:40:41
Messages: 1
Offline
|
Hello, Please help. I have a paint program for school due tommorow, but it doesn't seem to be working. The code attached is a a smaller version of my program. Only the "Brush:Stroke" tool under "Brush" works in that program provided.
I have a menubar on the top of the screen, which I made into a tools bar. There is also two panels attached in a borderlayout. One is the title, with a label "untitled", at the top, under the menubar, and the other is the panel that sets the colours and thickness etc at the bottom (set to "South"). When i select my brush:Stroke button, I'm supposed to be able to draw in the middle, since its a brush tool. The problem is that it doesn't show up, and the only way for it to show up is if I click and hold on a panel (using the tool), then dragging it into the centre draw area. For example, I select the brush:stroke tool under "brush" then inorder for me to draw, I have to click and hold onto a panel (lets say the bottom one) and drag it to the middle for it to show up.
Can someone please help me? I really don't know what is wrong. This is due tommorow and I need urgent assistance, Thank You.
|