Top "Jframe" questions

A JFrame is a component and top-level container of the JFC/Swing framework.

Set layout with JPanels

I haven't really worked with Swing at all in Java. I'm experimenting with it. I want to make a set …

java swing jframe jpanel null-layout-manager
How To Add A MouseListener To A Frame

I want to add a mouselistener to mt JFrame frame but when i do frame.addMouseListener(this) i get an …

java swing jframe jpanel mouselistener
How do I save preference user settings in Java?

For example, I have a window with a preference button. I want to make it so that when user press …

java swing jframe jbutton
Center JDialog over parent

I have a Java swing application with a button that produces a popup window when a certain action is performed. …

java swing layout user-interface jframe
Show JFrame in a specific screen in dual monitor configuration

I have a dual monitor config and I want to run my GUI in a specific monitor if it is …

java swing jframe multiple-monitors
How to hide a JFrame in system tray of taskbar

I'd created a JFrame and want to hide in taskbar (in windows not visible right in the bottom but hidden …

java windows jframe taskbar minimize
JFrame: get size without borders?

In Java, is it possible to get the Width and Height of the JFrame without the title and other borders? …

java swing awt jframe
Java Swing JFrame Layout

I just wrote a simple code where I want a textfield and a button to appear on the main frame, …

java swing jframe jbutton layout-manager
how can i change the color of titlebar in JFrame?

I am using the following code, UIManager.put("JFrame.activeTitleBackground", Color.red); for change the toolbar color in JFrame. But …

java swing jframe titlebar
How do I remove the maximize and minimize buttons from a JFrame?

I need to remove the maximize and minimize buttons from a JFrame. Please suggest how to do this.

java swing jframe jdialog