• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Frame

 
Joe Joseph
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a problem with one of my Applets. A url (a.jsp) loads the applet. The applet invokes a Frame (not a JFrame). I have set frame.setVisible(true). Inspite of that my Frame stays in the background. In otherwords, the browser that invoked a.jsp stays in foreground. The Frame stays behind. So i need to minimize my browser window to see the Frame. Why is this so? How can i get around this such that the user rightaway sees the Frame?
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tested frame.toFront() ?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!