}
});
//======== stringPanel ========
{
stringPanel.setBorder(new EtchedBorder());
stringPanel.setLayout(new FormLayout(
new ColumnSpec[] {
FormFactory.DEFAULT_COLSPEC
},
new RowSpec[] {
FormFactory.DEFAULT_ROWSPEC,
FormFactory.LINE_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC
}
));
//---- singleQuoteRadio ----
singleQuoteRadio.setText("Single quotes ( 'sample string' )");
singleQuoteRadio.setEnabled(false);
stringPanel.add(singleQuoteRadio, cc.xy(1, 1));
//---- doubleQuoteRadio ----
doubleQuoteRadio.setText("Double quotes ( \"sample string\" )");
doubleQuoteRadio.setEnabled(false);
doubleQuoteRadio.setSelected(true);
stringPanel.add(doubleQuoteRadio, cc.xy(1, 3));
}
lexRightPanel.add(stringPanel, cc.xy(2, 3));
//---- cbCharacters ----
cbCharacters.setText("Character");
lexRightPanel.add(cbCharacters, cc.xywh(1, 5, 2, 1));
//---- cbWhiteSpace ----
cbWhiteSpace.setText("White Space");
lexRightPanel.add(cbWhiteSpace, cc.xywh(1, 7, 3, 1));
//======== wsPanel ========
{
wsPanel.setBorder(new EtchedBorder());
wsPanel.setLayout(new FormLayout(
new ColumnSpec[] {
FormFactory.DEFAULT_COLSPEC
},
new RowSpec[] {