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


Groups > comp.lang.java.gui > #1209

Re: JButton is created "s

From "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this>
Subject Re: JButton is created "s
Message-ID <45fcdbbf$0$28103$4c368faf@roadrunner.com> (permalink)
Newsgroups comp.lang.java.gui
References <1174051936.828615.170180@n76g2000hsh.googlegroups.com>
Date 2011-04-27 15:31 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Phil Powell wrote:
[snip]
>  
> SimpleBrowser.this.processor.processURL(SimpleBrowser.this.getURL());
>                         }
[snip]
> 
> 
> The moment this particular JButton is created it is created as
> "selected", even though I have done "setSelected(false)". It does not
> fire unless I click onto it, of course, but it appears as if I did and
> that's not good. Is there a way I can fix this?
> 
> Thanx
> Phil
> 


Any particular reason why you keep calling SimpleBrowser.this ?

I would think you could just use one or the other (SimpleBrowser or 
this) depending on how you structured your classes.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

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


Thread

JButton is created "selec "Phil Powell" <phil.powell@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
  Re: JButton is created "s "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
    Re: JButton is created "s "Phil Powell" <phil.powell@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
      Re: JButton is created "s "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
        Re: JButton is created "s "Phil Powell" <phil.powell@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
          Re: JButton is created "s "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
            Re: JButton is created "s "Phil Powell" <phil.powell@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
              Re: JButton is created "s "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
  Re: JButton is created "s "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000

csiph-web