static S getTextTrim(JTextComponent c) {
ret trim(getText(c));
}
// tested for editable combo box - returns the contents of text field
static S getTextTrim(JComboBox cb) {
ret trim(getText(cb));
}
static S getTextTrim(JComponent c) {
if (c instanceof JLabel) ret trim(((JLabel) c).getText());
if (c instanceof JComboBox) ret getTextTrim((JComboBox) c);
ret getTextTrim((JTextComponent) c);
}download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment