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


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

Re: jLabel setVisible(true) Doesn't Work

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: jLabel setVisible(true) Doesn't Work
Date 2012-08-09 05:38 -0700
Organization Canadian Mind Products
Message-ID <mpb7281jj5sh4lqqgtslhh9usgcni2e434@4ax.com> (permalink)
References <ddf6ecbb-1c20-4163-8504-bb2d8a33e41a@googlegroups.com>

Show all headers | View raw


On Tue, 7 Aug 2012 12:15:11 -0700 (PDT), clusardi2k@aol.com wrote,
quoted or indirectly quoted someone who said :

>But, the label is no where to be found. That's my problem.

The background colour setBackground() is ignored unless you do a
setOpaque( true ).

See http://mindprod.com/jgloss/jlabel.html for sample code.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
A new scientific truth does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04 

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


Thread

jLabel setVisible(true) Doesn't Work clusardi2k@aol.com - 2012-08-07 12:15 -0700
  Re: jLabel setVisible(true) Doesn't Work markspace <-@.> - 2012-08-07 12:33 -0700
    Re: jLabel setVisible(true) Doesn't Work clusardi2k@aol.com - 2012-08-07 15:22 -0700
      Re: jLabel setVisible(true) Doesn't Work Jeff Higgins <jeff@invalid.invalid> - 2012-08-07 19:08 -0400
        Layout Doesn't Work (was: jLabel setVisible(true) Doesn't Work) Jeff Higgins <jeff@invalid.invalid> - 2012-08-07 22:27 -0400
          Re: Layout Doesn't Work (was: jLabel setVisible(true) Doesn't Work) clusardi2k@aol.com - 2012-08-08 05:54 -0700
            Re: Layout Doesn't Work Jeff Higgins <jeff@invalid.invalid> - 2012-08-08 11:22 -0400
              Re: Layout Doesn't Work Jeff Higgins <jeff@invalid.invalid> - 2012-08-08 14:00 -0400
            Re: Layout Doesn't Work markspace <-@.> - 2012-08-08 08:20 -0700
              Re: Layout Doesn't Work clusardi2k@aol.com - 2012-08-08 09:24 -0700
                Re: Layout Doesn't Work clusardi2k@aol.com - 2012-08-08 10:22 -0700
                Re: Layout Doesn't Work markspace <-@.> - 2012-08-08 10:31 -0700
                Re: Layout Doesn't Work Jeff Higgins <jeff@invalid.invalid> - 2012-08-08 13:49 -0400
                Re: Layout Doesn't Work clusardi2k@aol.com - 2012-08-08 11:15 -0700
                Re: Layout Doesn't Work markspace <-@.> - 2012-08-08 11:48 -0700
                Re: Layout Doesn't Work Jeff Higgins <jeff@invalid.invalid> - 2012-08-10 10:09 -0400
                Re: Layout Doesn't Work Jeff Higgins <jeff@invalid.invalid> - 2012-08-10 10:20 -0400
                Re: Layout Doesn't Work Jeff Higgins <jeff@invalid.invalid> - 2012-08-10 13:48 -0400
  Re: jLabel setVisible(true) Doesn't Work "John B. Matthews" <nospam@nospam.invalid> - 2012-08-07 22:09 -0400
  Re: jLabel setVisible(true) Doesn't Work Roedy Green <see_website@mindprod.com.invalid> - 2012-08-09 05:38 -0700

csiph-web