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?