• Post Reply Bookmark Topic Watch Topic
  • New Topic

ensureIndexIsVisible

 
Rajesh Radh
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using ensureIndexIsVisible as follows in a constructor. But this does not seems to work. But when I use ensureIndexIsVisible after setVisible(true) in main method, then it works! Why is it like this. In my application, I cannot use JFrame. I have only the liberty to use a JPanel. Therefore I need this method working at place (1). could you please let me know what else I need to do to get this method working at place (1)

thanks,
Rajesh


[This message has been edited by Rajesh Radh (edited June 21, 2001).]
[This message has been edited by Rajesh Radh (edited June 21, 2001).]
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rajesh,
You could use a component listener.

Regards,
Manfred.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!