[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
HELP PLEASE!- Paint Program Not "Drawing"  XML
Forum Index » GUI Development
Author Message
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.

 
Forum Index » GUI Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle