AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Toggle Button for AWT

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits
View previous topic :: View next topic  
Author Message
SPG
Guest





PostPosted: Tue Apr 26, 2005 9:51 am    Post subject: Toggle Button for AWT Reply with 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


Back to top
Fred L. Kleinschmidt
Guest





PostPosted: Tue Apr 26, 2005 2:25 pm    Post subject: Re: Toggle Button for AWT Reply with quote





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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.