Results 1 to 2 of 2
  1. #1
    divgrad.chris is offline Member
    Join Date
    Apr 2010
    Posts
    1
    Rep Power
    0

    Default Custom JCheckBox with a corresponding Dialog box

    Hello forum folks - I need a custom component for my version of BeatBox.java. Most of the BeatBoxes use a JCheckBox, which the user can click to signal that the instrument in that column is to be played on the beat associated with the checkbox'es position within the row <see gridarray.jpg>. I have, however, built into the method that builds the MIDI sequence the allowance for the instrument, on that beat, to be played either as a single, eighth, triplet, or quad note. However, I would like to create a custom JCheckBox which will allow the user to select the desired note <see gridarray2.jpg>. I would like for the dialog box to remain hidden, until the user selects the JCheckBox, and when visible, the default setting is '1-single'.

    Any suggestions/ready bake code snippets/ACLs?
    Attached Thumbnails Attached Thumbnails Custom JCheckBox with a corresponding Dialog box-gridarray.jpg   Custom JCheckBox with a corresponding Dialog box-gridarray2.jpg  

  2. #2
    Michael Dunn is offline Member
    Join Date
    Jul 2008
    Posts
    62
    Rep Power
    0

Similar Threads

  1. How to add a jcheckbox in jtable
    By lakshayghai in forum AWT / Swing
    Replies: 9
    Last Post: 04-14-2010, 11:32 PM
  2. How can I add JCheckBox to each row?
    By batya in forum AWT / Swing
    Replies: 1
    Last Post: 11-04-2009, 09:25 PM
  3. JCheckbox in Jtree
    By shajuantony in forum AWT / Swing
    Replies: 10
    Last Post: 09-09-2009, 10:42 AM
  4. How to create custom Input Dialog
    By Bab in forum SWT / JFace
    Replies: 2
    Last Post: 08-02-2009, 12:21 PM
  5. jcheckbox issues need help. thanks.
    By carlos123 in forum New To Java
    Replies: 3
    Last Post: 11-05-2007, 10:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •