 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
SPG Guest
|
Posted: Tue Apr 26, 2005 9:51 am Post subject: Toggle Button for AWT |
|
|
Hi All,
I was wondering is there is a quick way to make a Button work like a toggle
button in AWT (I Cannot use swing).
I was looking at maybe frigging the normal Button to stay depressed when
clicked, then when clicked again show un-depressed..
Being a bit lazy and thought I'd ask here whilst trawling through the Button
source code..
Steve
|
|
| Back to top |
|
 |
Fred L. Kleinschmidt Guest
|
Posted: Tue Apr 26, 2005 2:25 pm Post subject: Re: Toggle Button for AWT |
|
|
SPG wrote:
| Quote: |
Hi All,
I was wondering is there is a quick way to make a Button work like a toggle
button in AWT (I Cannot use swing).
I was looking at maybe frigging the normal Button to stay depressed when
clicked, then when clicked again show un-depressed..
Being a bit lazy and thought I'd ask here whilst trawling through the Button
source code..
Steve
|
The AWT toggle button is called Checkbox.
--
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Common User Interface Services
M/S 2R-94 (206)544-5225
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|