•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 396,872 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,182 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 4075 | Replies: 1
![]() |
•
•
Join Date: Nov 2004
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
hello everybody,
ive devoloped an awt application in java, i want to call the paint() for drawing sytem time on a image through Graphics.drawString(String,int,int);
now i want to refresh the time for each second by calling repaint(), but whats my problem is, each time i call repaint() the image i drawn using the paint() is being repainted. so i want to overload the paint() so that each time the image is not repainted.
please anyone help me in this.
thnx n regards.
ravi.v
ive devoloped an awt application in java, i want to call the paint() for drawing sytem time on a image through Graphics.drawString(String,int,int);
now i want to refresh the time for each second by calling repaint(), but whats my problem is, each time i call repaint() the image i drawn using the paint() is being repainted. so i want to overload the paint() so that each time the image is not repainted.
please anyone help me in this.
thnx n regards.
ravi.v
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
- thx but how do i display an image in java (Java)
- Java Applet Help (Java)
- Printing in awt (Java)
- Loading images in AWT (Java)
- Java awt and swing event handling (Java)
- Java Applet viewer blinks everytime the init method is used. (Java)
Other Threads in the Java Forum
- Previous Thread: using a varible from main method
- Next Thread: palendromes with a string tokeniser


Linear Mode