Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to fit the JFrame as the Screen size also overlapping the toolbar in window?  RSS feed

 
sabin ran
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, i am trying to make the screen locker that will lock the screen in the window system. problem is that i am not being able to overlap the toolbar. please help.
 
Jan Cumps
Bartender
Posts: 2628
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have moved this post to our GUI forum.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JFrame inherits the setExtendedState() method from Frame. Check out the API docs to see how you can use it for your requirement.
You might also find this interesting http://download.oracle.com/javase/tutorial/extra/fullscreen/index.html

Coming back to your original requirement, ask yourself this question: What would happen if the user hits the Windows key or Ctrl+Esc or even the M$ three finger salute when your application is showing.
 
Rob Camick
Ranch Hand
Posts: 2753
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!