File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

show() and setVisible()

 
Tom Tang
Ranch Hand
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to Khalid, the difference between the two methods for a window component is that show() will bring the component to the front of any other windows, but setVisible won't. I tried the following code and found the window will always appear in front of any other windows(bring up different windows and try). Can someone explain more.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic