Creating a toggle toolbar button
lwylie <[email protected]> Mon, 23 Jun 2008 19:23:42 -0700 (PDT)
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone, I'm in the process of creating an application that captures streaming data. I would like to create an action associated with a toolbar that can be toggled on or off. For example in the button's depressed state the streaming data is captured and in the button's unpressed state the streaming data is not captured. I've created the toolbar button and tied the associated action to it without a problem, however, I can't figure out how to control whether the button stays depressed or unpressed. So far I have not seen an example or found a related post. Any help would be greatly appreciated. Thanks! -- View this message in context: http://www.nabble.com/Creating-a-toggle-toolbar-button-tp18082446p18082446.html Sent from the Netbeans - UI mailing list archive at Nabble.com.