File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Problem withe Jpanel while drawing shapes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic
Author

Problem withe Jpanel while drawing shapes

looka dicosta
Greenhorn

Joined: Nov 22, 2012
Posts: 21

hi
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
based on your (recent) poor history, I'm not gunna offer too much,
but mouseClicked() is *always* a poor choice, as it doesn't always fire.

no idea if that's your problem, but that's all a quick glance warrants.
looka dicosta
Greenhorn

Joined: Nov 22, 2012
Posts: 21
Not much to say on this. But at least you can give person another chance. I was not deliberate as you say in "recent history" . But I am facing some serious issues with my work. Hope you can take this as my apology. Please help !!!
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
no one can help if once you've deleted the code.

for other (kinder) folk, willing to help, here's the deleted code:

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

@looka dicosta
Please do not edit your posts after people have replied. I am locking this thread. If you need some help, please start another topic.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
 
subject: Problem withe Jpanel while drawing shapes