This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

repaint  RSS feed

Pranav Sharma
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was wondering if someone could help me with a problem.
never used awt or swing(just read up abt them)
iam trying to build a visual of a tree from given set of nodes.

Have to make a java application
After manipulating data, i get the data for drawing the tree.
the problem is that once i get the data after calculations how do i draw a tree from this. (i have seen sample programs wherein the paint method is pre written). i tried to use repaint() but dint seem to work.
any help will be appreciated.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!