Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Full screen without title bar and task bar 1

Status
Not open for further replies.

fatcodeguy

Programmer
Feb 25, 2002
281
CA
Hi. How do you full screen a JFrame without a tible bar and the Windows Task bar... I want my actual frame to be "full screen". Thanks! Any help appreciated
 
Creating a JFrame without a title bar is not that difficult, just use JWindow instead. JFrame is basically a JWindow with extra bits drawn on it (the title bar etc).

To quote Java's own documentation on JWindows
"A JWindow is a container that can be displayed anywhere on the user's desktop. It does not have the title bar,
window-management buttons, or other trimmings associated with a JFrame, but it is still a "first-class citizen" of the user's desktop, and can exist anywhere on it."

JWindows support layouts, adding and removing components etc. but they dont support menuBars.

So that is part one of your question, part 2 (the taskbar bit) is harder and to be honest I do not believe it is possible in Java. Anyone know of a way around this? I assume we are talking Windows yes? ----------------------------------------
There are no onions, only magic
----------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top