Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38334

Re: Is there a method to update control size?

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: Is there a method to update control size?
Date 2018-06-03 15:00 -0500
Organization A noiseless patient Spider
Message-ID <pf1hc4$7n8$1@dont-email.me> (permalink)
References (3 earlier) <pepb3b$bpb$1@dont-email.me> <6d179195-f875-4bc0-bd96-465c4b6ca804@googlegroups.com> <pepcdg$jr8$1@dont-email.me> <c176ec49-e0b0-42f4-8b68-b2941e47fe48@googlegroups.com> <pepdje$sq2$1@dont-email.me>

Show all headers | View raw


On 5/31/2018 13:05, Daniele Futtorovic wrote:
> IIRC the default LayoutManager on a JPanel is BorderLayout, and a

I don't think so...

import java.awt.*;
import javax.swing.*;

public class test8 {
     public static void main(String... args) {
         EventQueue.invokeLater(() ->
          System.out.println(new JPanel().getLayout()));
     }
}

C:\Users\Knute Johnson>java test8
java.awt.FlowLayout[hgap=5,vgap=5,align=center]

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is there a method to update control size? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-31 07:34 -0700
  Re: Is there a method to update control size? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-05-31 17:20 +0200
  Re: Is there a method to update control size? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-31 11:28 -0400
    Re: Is there a method to update control size? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-31 09:42 -0700
      Re: Is there a method to update control size? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-05-31 19:22 +0200
        Re: Is there a method to update control size? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-31 10:38 -0700
          Re: Is there a method to update control size? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-05-31 19:45 +0200
            Re: Is there a method to update control size? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-31 10:55 -0700
              Re: Is there a method to update control size? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-05-31 20:05 +0200
                Re: Is there a method to update control size? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-06-03 15:00 -0500
                Re: Is there a method to update control size? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-06-04 02:25 +0200
      Re: Is there a method to update control size? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-31 15:55 -0400
        Re: Is there a method to update control size? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-06-03 15:02 -0500

csiph-web