Re: change "selected color" of jtoggle button
From: Paul Lutus (nospam_at_nosite.zzz)
Date: 10/04/04
- Next message: Michael: "Re: Save Dialog, filename reset when changing filter"
- Previous message: philipp: "Re: change "selected color" of jtoggle button"
- In reply to: philipp: "Re: change "selected color" of jtoggle button"
- Next in thread: philipp: "Re: change "selected color" of jtoggle button"
- Reply: philipp: "Re: change "selected color" of jtoggle button"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 04 Oct 2004 01:15:11 -0700
philipp wrote:
> hi, first of all thanks for your answer, i finally found the SHIFT
> keys. i also found out, that they are used for something really
> useless. CAPITAL LETTERS!...
>
> however i got your hint to give an sscce example, but its of no use in
> this case, cause there is nothing wrong with the code i have, but i
> dont know how to code it
Again, in case someone missed it: "there is nothing wrong with the code i
have, but i dont know how to code it." Either the first part is true, or
the second part is true. Both cannot be true at once.
> i will try to explain my problem again. and perhaps somebody could
> give me a piece of code then:
No, no one is going to give you any code until you post your own code.
> i want a jToggleButton that is grey (as default) when its isSelected
> state is false and green when its isSelected state is true.
So write the required code, and someone here will help you.
> the opaque -> true was already set when i tried it last time.
>
> so thanks in advance
You are welcome in advance. Now start coding, and post your short, complete,
compilable example when you are ready.
-- Paul Lutus http://www.arachnoid.com
- Next message: Michael: "Re: Save Dialog, filename reset when changing filter"
- Previous message: philipp: "Re: change "selected color" of jtoggle button"
- In reply to: philipp: "Re: change "selected color" of jtoggle button"
- Next in thread: philipp: "Re: change "selected color" of jtoggle button"
- Reply: philipp: "Re: change "selected color" of jtoggle button"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]