Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / March 2007

Tip: Looking for answers? Try searching our database.

When I press a button my paint method stop the update...

Thread view: 
jaxx81@supereva.it - 13 Mar 2007 10:03 GMT
Hi all,

this is my problem; I have a frame in which I have an area where I
paint some lines. In the main program a loop updates the coordinates
of this lines and repaint the area with the new lines, and it works
right.

Also I have a button that, when the first loop stops, add, at every
press, one new line to my area, and also this step works right.
I have another button that, under his listener event, execute a loop
that updates the coordinates of all lines that I have, but at end of
every cycle of this loop I call the repaint method but it doesn't
work... :-)

Anyone has an idea?

Thanks in advance.

--------------------------------------------------------------------------
Dragoni Mauro
Ph.D. Università di Milano, Italy

My research site: http://www.genalgo.com
Fantasy Motors Game: http://www.v-motors.com
Michael Rauscher - 14 Mar 2007 09:24 GMT
> Also I have a button that, when the first loop stops, add, at every
> press, one new line to my area, and also this step works right.
[quoted text clipped - 4 lines]
>
> Anyone has an idea?

Please, show an example.

Bye
Michael


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.