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


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

Re: Is there something better than ComponentListener on Resized

X-Received by 10.236.97.7 with SMTP id s7mr1418458yhf.56.1380631192936; Tue, 01 Oct 2013 05:39:52 -0700 (PDT)
X-Received by 10.50.111.200 with SMTP id ik8mr645904igb.7.1380631192687; Tue, 01 Oct 2013 05:39:52 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!q9no709687qas.0!news-out.google.com!9ni1064qaf.0!nntp.google.com!a6no427844qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Tue, 1 Oct 2013 05:39:52 -0700 (PDT)
In-Reply-To <l2c5cd$j32$2@dont-email.me>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=138.162.0.45; posting-account=r24XpwkAAABfAJg5TJRsTScS4AL5MjOT
NNTP-Posting-Host 138.162.0.45
References <aa287a36-de15-45eb-90a6-bb3f4e0e2853@googlegroups.com> <l1iduk$smc$1@dont-email.me> <419a414e-356f-4d1c-ab98-cc6613081bcd@googlegroups.com> <l1lllj$plo$1@dont-email.me> <db2d0fc9-8ff0-4b7c-b7d8-cf987960c0f2@googlegroups.com> <l2c5cd$j32$2@dont-email.me>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <a4d1b7c8-690a-4e9f-b5ca-88cd9bbe5dde@googlegroups.com> (permalink)
Subject Re: Is there something better than ComponentListener on Resized
From clusardi2k@aol.com
Injection-Date Tue, 01 Oct 2013 12:39:52 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:25413

Show key headers only | View raw


> On Monday, September 30, 2013 11:29:16 AM UTC-4, Eric Sosman wrote:
> Perhaps it's time to ask a question: Why do you think it's a good idea to 
> prevent the user from arranging his own screen as he pleases? Does your program 
> understand the user's needs and desires better than he himself does?

I want to prevent the user from horizontally resizing the window beyond a certain width because (if I didn't) anything to the right of my two tables would be a a solid gray color of nothing. 

So, without the functionality that I want, if the user resizes the window it will look somthing like this exaggerated example:

[][]||||||

Where I represent a table with [] and gray solid areas are represented by |.

The code that I've, unsuccessfully, tried to use is similar to the code here:

http://docs.oracle.com/javase/tutorial/uiswing/layout/gridbag.html

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


Thread

Is there something better than ComponentListener on Resized clusardi2k@aol.com - 2013-09-20 12:43 -0700
  Re: Is there something better than ComponentListener on Resized Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-09-20 17:16 -0400
    Re: Is there something better than ComponentListener on Resized clusardi2k@aol.com - 2013-09-21 11:40 -0700
      Re: Is there something better than ComponentListener on Resized Jeff Higgins <jeff@invalid.invalid> - 2013-09-21 22:46 -0400
        Re: Is there something better than ComponentListener on Resized "clus@aol.com" <clusardi2k@aol.com> - 2013-09-30 08:08 -0700
          Re: Is there something better than ComponentListener on Resized Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-09-30 11:29 -0400
            Re: Is there something better than ComponentListener on Resized Jeff Higgins <jeff@invalid.invalid> - 2013-09-30 16:24 -0400
              Re: Is there something better than ComponentListener on Resized Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-09-30 17:15 -0400
                Re: Is there something better than ComponentListener on Resized "John B. Matthews" <nospam@nospam.invalid> - 2013-09-30 20:10 -0400
                Re: Is there something better than ComponentListener on Resized Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-09-30 20:38 -0400
                Re: Is there something better than ComponentListener on Resized Jeff Higgins <jeff@invalid.invalid> - 2013-09-30 22:16 -0400
                Re: Is there something better than ComponentListener on Resized Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-09-30 22:32 -0400
                Re: Is there something better than ComponentListener on Resized Jeff Higgins <jeff@invalid.invalid> - 2013-10-01 03:28 -0400
                Re: Is there something better than ComponentListener on Resized Jeff Higgins <jeff@invalid.invalid> - 2013-10-01 03:41 -0400
                Re: Is there something better than ComponentListener on Resized Arne Vajhøj <arne@vajhoej.dk> - 2013-10-01 20:04 -0400
            Re: Is there something better than ComponentListener on Resized clusardi2k@aol.com - 2013-10-01 05:39 -0700
              Re: Is there something better than ComponentListener on Resized Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-10-01 09:37 -0400
      Re: Is there something better than ComponentListener on Resized "John B. Matthews" <nospam@nospam.invalid> - 2013-09-22 19:57 -0400

csiph-web