Raghav686 0 Newbie Poster

The requirement is to have an applet which refreshes it self every second.
I have created a thread for this purpose.
I am using paint function to display all the values within a rectangle.

The problem is that
1.i am not able to call paint() function from run().
2. The page doesn refresh itself. only when i meddle with the size of the screen the changed values are reflected. When i integrate it on to an HTML page. the values are static.

How do i proceed?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.