Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jdialog issue  RSS feed

 
swapnel surade
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create a dialog. When that dialog opens after that if any app open then that should not go behind my dialog.
It work just like startup bar in windows (all application adjust there spacing on size of that tab)

how to achieve this in JDialog

thanks
 
Rob Spoor
Sheriff
Posts: 21087
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out isAlwaysOnTop(), isAlwaysOnTopSupported() and setAlwaysOnTop(), all methods in java.awt.Window and therefore inherited by JDialog.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!