Top "Jframe" questions

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

Disable JFrame when a new JFrame is opened

I am trying to disable the "main" JFrame when the new frame pops up. I want it so you can …

java swing jframe modal-dialog jdialog
JFrame size is too small

i have created a JFrame in netbeans. But when i run the program, the Jframe size is too small. here …

java swing jframe preferredsize
Java - Vertical "FlowLayout" with Horizontal Scrolling

As described in the title, I've been trying to set up sort of a vertical flow layout with horizontal scrolling. …

java swing jframe jpanel layout-manager
JFrame and Nimbus Look And Feel

I use Nimbus Look and Feel in a project. However, although every GUI JComponent have a Look and Feel of …

java swing jframe look-and-feel nimbus
In NetBeans how do I add a jMenuBar to a JPanel?

I am having problems and I don't really understand why. I have a JFrame and a JPanel and everything works …

java swing netbeans jframe jmenubar
Is it possible to bring JFrame to front but NOT focus?

I'm writing a Java app (Swing GUI) that periodically pops up a JFrame. Is it possible somehow to bring the …

java swing jframe focus always-on-top
Changing The Underlying Background Color Of A Swing Window

As discussed here, when resizing a Swing application in Vista (and Windows 7, which is what I'm using) you get a …

java windows swing jframe paint
Center Swing Windows

I'm developing a Java Swing application. How can I make it so that when the program itself and any other …

java swing jframe center jwindow
Responsive JFrame without Layout Manager

I am trying to do have two button in JFrame, and I call the setBounds method of them for setting …

java swing jframe layout-manager null-layout-manager
How to add a JInternalFrame to JFrame?

I have my JFrame, and I want to attach to a button an ActionListener that triggers the JInternalFrame. I do: …

java swing jframe jinternalframe