7374757677787980818283
//noinspection ObjectEquality if ( anItem == getSelectedItem() ) { return; } @Nullable final Tag newTag; if ( anItem == null || anItem instanceof Tag ) { newTag = ( Tag ) anItem; } else if ( anItem instanceof String ) {
133134135136137138139140141142
} } ); } private void addSelectedTag() { Tag tag = ( Tag ) tagCombo.getSelectedItem(); if ( tag != null ) { this.model.selectTag( tag ); } }
144145146147148149150151152153
127128129130131132133134135136
8990919293949596979899
102103104105106107108109110111
4243444546474849505152