• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

when is the UI object created

 
budsy remo
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, budsy again .
I wanna ask that when exactly is a the ui object created whenever we call something like JButton() ?

I checked out the online sun links and found out that they are created when the constructor is called . When i checked out the source code for JButton i saw that it is calling init(text,icon) and furthermore it's not even calling updateUI() ? Can somebody please explain the flow through a good example ?? Thanks a lot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic