undecorated « JFrame « Java Swing Q&A





1. How to add support for resizing when using an undecorated JFrame?    stackoverflow.com

I would like to customize my titlebar, minimize-, maximize- and the close-button. So I used setUndecorated(true); on my JFrame, but I still want to be able to resize the window. What ...

2. Cannot mix lightweight and heavyweight components in an undecorated JFrame    stackoverflow.com

I am attempting to mix heavyweight and lightweight components according to these guidelines. I am expecting the following code to paint the entire window green. Instead, it renders half the ...

3. moving an undecorated frame    coderanch.com

4. [new user!] I've got an undecorated window, how can I make it resizable?    coderanch.com

> but damn, I'd like to learn how to do the resize method... here's one way - but I've only added code to resize by dragging to the right (east), you'll need to add code for the remainder, as well as the corners (and you may want to modify when the cursor changes to <-->) import javax.swing.*; import java.awt.*; import java.awt.event.*; ...

5. problem with undecorated jframe    coderanch.com

I have an app that i run as an undecorated full screen jframe - i need all the screen real estate i can get. all works well until the app is minimized. When the application is brought back up, the windows task bar stay on top of the app. I'm overriding windowDeiconified() and windowActivated() on the main jframe, but i don't ...