About 50 results
Open links in new tab
  1. Java Swing JFrame Layout - Stack Overflow

    To use it you will need to set JFrame layout by using JFrame.setLayout (layout) and to pass flow layout as a parameter. Following example shows components arranged in flow layout:

  2. java - JFrame inside another JFrame - Stack Overflow

    Jun 25, 2013 · You can't put one JFrame inside another. You have a couple of design choices here. You can change your JFrames to JPanels. This is probably the easiest change. On the other hand, you …

  3. java - Setting background color for a JFrame - Stack Overflow

    Jul 4, 2009 · How do you set the background color for a JFrame?

  4. java - Show JFrame in a specific screen in dual monitor configuration ...

    Sep 4, 2015 · I have a dual monitor config and I want to run my GUI in a specific monitor if it is found. I tried to create my JFrame window passing a GraphicConfiguration object of my screen device, but it …

  5. java - JFrame Maximize window - Stack Overflow

    Jan 26, 2009 · I'm putting together a quick and dirty animation using swing. I would like the window to be maximized. How can I do that?

  6. How to minimize a JFrame window from Java? - Stack Overflow

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

  7. java - Open a new JFrame - Stack Overflow

    13 can't resist, simple disagree with answers JFrame frame = new JFrame(); and frame.setVisible(true); I want to open a new JFrame when the user hits the first calculate button and serve as a Output …

  8. java - Unable to import javax.swing.JFrame - Stack Overflow

    I'm using Eclipse and need to import JFrame from javax.swing. But hovering over the the declaration (which in Eclipse should give you an option to import it) the import option does not show up.

  9. java - How can I set the insets of a JFrame? - Stack Overflow

    Jan 2, 2013 · 4 Overriding the Insets of JFrame would not be the soultion to your actual problem. To answer your question, you cannot set the Insets of JFrame. You should extend JFrame and override …

  10. java - How do I create a new JFrame? - Stack Overflow

    Nov 4, 2016 · 4 Creating a new JFrame The way to create a new instance of a JFrame is pretty simple. All you have to do is: