This tag refers to the process of increasing the size of a UI window to its fullest, so that it takes up the entire screen.
Questions tagged [maximize-window]
134 questions
179
votes
14 answers
How can I maximize the editor pane in IntelliJ IDEA?
In Eclipse, I can type Ctrl+M or click the maximize icon in the editor pane to make the editor pane take up the entire Eclipse window, and then again to restore the pane back to its previous size exposing the other panes.
Is it possible to perform…

Jeff Axelrod
- 27,676
- 31
- 147
- 246
96
votes
9 answers
JFrame Maximize window
I'm putting together a quick and dirty animation using swing. I would like the window to be maximized. How can I do that?

Nope
- 34,682
- 42
- 94
- 119
44
votes
5 answers
How to set a JavaFX Stage/Frame to Maximized
I'm using JavaFX 2. I want my frame to open maximized but I'm not seeing a way. I searched a bit on the internet without success. For the stage I see setFullScreen() and setIconified() but I don't see anything like setMaximized().

Dorothy
- 2,842
- 10
- 33
- 46
40
votes
11 answers
Automatically maximize a figure
I am creating some figures in MATLAB and automatically save them to files. The problem that by definition the images are small. A good way to solve my problem by hand is to create an image (figure), maximize it, and save to a file.
I am missing this…

Salvador Dali
- 214,103
- 147
- 703
- 753
37
votes
9 answers
How can I remove just the Maximize button from a JFrame?
I have a JFrame and want to remove the maximize button from that.
I wrote the code below, but it removed maximize, minimize, and close from my JFrame.
JFrame frame = new…

Mahdi_Nine
- 14,205
- 26
- 82
- 117
23
votes
2 answers
What can I do about maximized, styled windows, which show their borders on adjacent monitors?
On a multi-monitor system, a "blank" VCL application maximizes fine, but the same application with styles enabled (and one chosen as default) maximizes incorrectly. What I'm seeing is the right-hand edge of the window extend onto the 2nd monitor (my…

DaveS_Lifeway
- 375
- 3
- 9
17
votes
1 answer
Node-Webkit - Starting Maximized
I don't want a fullscreen application, but I would like to start a Node-Webkit application maximized. Can this be done? I am guessing its something to do with package.json, but can't seem to find what needs to be done.

Rewind
- 2,554
- 3
- 30
- 56
14
votes
4 answers
How to? WPF Window - Maximized, No Resize/Move
I'm trying to make a WPF window that opens already maximized, with no resize/move (in systemmenu, nor in border). It should be maximized all the time, except when the user minimize it.
I tried to put WindowState="Maximized" and…

Thieres Tembra
- 141
- 1
- 1
- 3
12
votes
2 answers
How can I maximize a specific window through cmd? (Windows)
I just want to make a simple Notepad .bat file that would maximize a specific process window. Is that possible?

Bruno Charters
- 454
- 2
- 6
- 14
10
votes
3 answers
Detect browser window "Maximized" / "Minimized "with JavaScript
When the user clicks the "Maximized"/"Restore" or "Minimized" buttons of the browser window, is there a way to keep track of these events with JavaScript? Are there any appropriate event or property to use?
I want that when the user clicks the…

Shaoz
- 10,573
- 26
- 72
- 100
9
votes
3 answers
How to trigger the event associated with maximize in C#
Consider the following code:
Window myWindow = new MyWindowSubclass();
myWindow.BringIntoView();
myWindow.Show();
// Code which is effective as pressing the maximize button
Also, how to detect if the window is indeed in maximized state.

Shamim Hafiz - MSFT
- 21,454
- 43
- 116
- 176
7
votes
3 answers
Maximizing WPF Doesn't Update Width?
The Width property of the screen doesn't seem to update to the fully maximized width when maximizing a window. If I resize it everything works fine, but not when maximizing.
The code I have is as follows:
private void Window_SizeChanged(object…

Adron
- 2,371
- 7
- 25
- 30
7
votes
3 answers
Maximizing the current window in javascript
Is there a way I can maximize a currently minimized window from Javascript? Here's my situation:
I have a series of links that all target the same external window (e.g. "MyNewWindow"). When I click a link, a new window pops up. If I click another…

Ka Wai Cheung
- 241
- 1
- 2
- 11
7
votes
6 answers
How to maximize command prompt in windows xp
I am on windows xp,
Is there any way to maximize my cmd.exe window?
I am doing some mysql and it is so difficult to read results of my queries in such a small window.
Why maximize does not really maximizes it?
Is there a way for maximizing?
Or maybe…

nacho4d
- 43,720
- 45
- 157
- 240
6
votes
1 answer
How to support for Windows 11 "Snap Layout" to the custom maximize/restore button in WPF?
I have a WPF app using a custom Maximize/Restore button. In Windows 11, mouse hover on maximize/restore button does not pop up snap layout feature like below:
Does anyone have any idea fixing this issue? Kindly advise.
TIA!

vishal
- 596
- 2
- 12
- 31