This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 70863 - Full screen support for main window and TopComponent Windows
Summary: Full screen support for main window and TopComponent Windows
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on: 42122
Blocks:
  Show dependency tree
 
Reported: 2005-12-30 17:07 UTC by _ wadechandler
Modified: 2008-12-22 11:34 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ wadechandler 2005-12-30 17:07:43 UTC
It would nice to be able to full screen the main application window and/or an
individual TopComponent which might be undocked.  This would work like Firefox
or Internet Explorer full screen mode.  Basically the window is undecorated and
fully maximized.  If this were to be supported by the window system and UI
elements already be available for the platform and IDE windows it would be best.  

Obviously this could be done by using the Swing API's and the standard API's,
but the GUI elements could all be common and be able to be turned on and off for
individual TCs, the main window, and even at the application level.  For the
TopComponents stuff this might need to depend on issue 42122 for MDI mode.  SDI
I don't guess it would have to depend on issue 42122.  For my purposes and this
one application I'm working on it would be awesome to have total platform
support for not only undocking in MDI mode, but to also be able to full screen
these undocked TCs.  

TopComponent should support this in the API so that a TopComponent call
setFullScreen(true/false) could be made.  I'm not sure if:
If TC is docked should application be full screened or should the TC be undocked
and then that window be full screened.  There may be a better place to put these
calls...?
Comment 1 Marian Mirilovic 2006-08-10 11:04:32 UTC
I am not sure about API, but we provide this functionality to users.

There are new features :
- View | Full Screen 
- Maximize TopComponent - from the popup menu over the titlebar
- Undock View/Window to separate window
Comment 2 _ wadechandler 2006-08-11 02:42:06 UTC
Yes I notice the full screen view when used in a platform application can't be
set back to not full screen, or at least I couldn't figure out how to get it
back.  The only way I was able to get it back was to close the platform
application and restart it.  Is there some way to hook into the full screen and
get it back through an API method?  I guess for a given TC one can get it's
parent window and play around with that and obviously maximize and minimize it.
Comment 3 David Simonek 2006-08-11 06:56:33 UTC
Passing to Standa. No official API AFAIK, any use case please? Thanks.
Full screen can be toggled by shortcut Alt+Shift+Enter. Also, there will be a UI
change and main menu will be visible also in full screen, allowing you to switch
back. 
Comment 4 _ wadechandler 2006-08-11 14:03:14 UTC
One use case would be to play or preview a movie or presentation clip.  I have
some educational software I am working on which I would like to be able to use
full screen support.  However, if the user has a setting in place to be able to
place a single undocked top component in full screen mode I would like to do
that.  That way they can have multiple things tracked and opened at different
times and full screen either one.  I would think image editing software writers
would like to use that type of thing for image previews like the more expensive
versions of Photo Shop let them do.  Full screen that view then that view be
able to have a setting and if it is set them full screen it every time the user
uses it.  In the case of the main menu.  It would be nice to have the ability to
programatically set stages of full screen.  Menu showing, menu not showing,
title bar showing, etc.  To make quick use of Full Screen in applications
easier.  i.e. Microsoft media player.  Look at the way it allows full screen. 
It is really nice and handy.
Comment 5 Stanislav Aubrecht 2007-06-12 11:08:27 UTC
impl dependency on core/windows wouldn't be good enough in this case?
Comment 6 _ wadechandler 2007-06-12 17:24:44 UTC
What do you mean? I am not sure how just having an impl dependency solves the issue talked about here.
Comment 7 Stanislav Aubrecht 2007-06-13 09:40:37 UTC
i mean that WindowManagerImpl in core/windows has some methods you can use for switching to/from full screen mode. 
however it probably won't solve all your problems...