Minimize « JFrame « Java Swing Q&A





1. Minimizing a supplementary JFrame when main application JFrame gets minimized    stackoverflow.com

The application I'm working on contains a main JFrame, from which users might eventually open another supplementary frame. I am trying to implement such a behavior of the app where the ...

2. How to minimize a JFrame window from Java?    stackoverflow.com

In my Java app, I have a JFrame window, how can I minimize it from my Java program ?

3. Qt TrayIcon when Minimizing the Window    stackoverflow.com

Well i have this piece of code:

void MainWindow::event(QEvent *event)
    {
        if(event->type() == QEvent::WindowStateChange) {
        ...

4. How to hide a JFrame in taskbar    stackoverflow.com

I'd created a JFrame and want to hide in taskbar (in windows not visible right in the bottom but hidden in the tray menu items).
Can anybody tell me how to do ...

5. Minimize window in Swing    stackoverflow.com

I've created a frame and set it extended state to JFrame.MAXIMIZED_BOTH. The window appears maximazed at startup, but after I pressed "Restore" button, it resizes to zero-sized window with only upper ...

6. frame without minimized option    coderanch.com

9. Frame blank after minimize/restore    coderanch.com





10. JFrame with out the minimize,restore and close    coderanch.com

Hello all, I want to have some kind of a frame or a panel with out the close, restore and the minimize buttons on the top right hand side. I know how to disable the restore option, but I do not know how to remove the others. So could you please tell me how to do this.. Thank you very much. ...

11. How to Auto Minimize a JFrame    coderanch.com

12. Disable the frame minimize option    coderanch.com

14. my frame starts up minimized...    coderanch.com

as the title says, my frame starts up automatically minimized. i dont know which code i messed up with... anyways, here it is... public class InventoryView extends FrameView implements MouseListener { private boolean isLoggedIn = false; private String theUser; private TrayIcon trayIcon; final JFrame frame = this.getFrame(); public InventoryView(SingleFrameApplication app) throws Exception { super(app); initComponents(); Image icon = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("resources/AppIcon.png")); this.getFrame().setIconImage(icon); restore.setEnabled(false); ...

15. How to handle JFrame minimize/restore?    coderanch.com

I did debugging, and did it again now. windowDeiconified method is called when applicaion is restored. Here is one scenario I used in debugging: CAPS LOCK is off on application start. I minimize application. Change state of CAPS LOCK to on. Restore application. windowDeiconified is called refreshStatusBarCapsIndicator() is called -> BUT getLockingKeyState returns false and it enters else branch.

16. Memory increases until window is minimized    java-forums.org

Hi guys! I have developed a java swing application loggin serial com port messages. It starts and runs fine for a couple of days, but hangs after some time. After some research the com port handling does not seem te be the problem. I checked the memory usage and it seems that memory increases slowly but steadily. My application makes intensive ...





17. problems with program - cards show up only when I minimize/resize window    java-forums.org

I'm making 1 program with poker cards. I got 2 problems: 1. When I click JButton "generate" nothing happens but when I click minimize of the program window or just click on the edge of the window cards show up. 2. When I click "generate" again program doesn't generate new cards. I've been using same code for ActionListener like I used ...

18. Minimize JFrame    forums.oracle.com

19. JFrame : disabling minimize and maximize?    forums.oracle.com

20. JFrame that listens when minimized; is this possible?    forums.oracle.com

Is it possible to have a JFrame that listens for KeyEvents via a KeyListener if the JFrame is minimized and is not currently in focus? For instance, let's say I have a JFrame that I program to perform function X when the letter "y" is pressed. If I minimize this JFrame, and I open up a document and type "y", is ...