Witam, mam taki kod:
Font tmp = textArea.getFont() ;
textArea.setFont(tmp.deriveFont(tmp.getStyle()|Font.BOLD));
Zrobiłem przycik JRadioButton i chciałbym żeby po odznaczeniu go, tekst nie był pogrubiony, jak to zrobić?
Witam, mam taki kod:
Font tmp = textArea.getFont() ;
textArea.setFont(tmp.deriveFont(tmp.getStyle()|Font.BOLD));
Zrobiłem przycik JRadioButton i chciałbym żeby po odznaczeniu go, tekst nie był pogrubiony, jak to zrobić?
Może xor zamiast ora? ^
a nie |
Super. Działa :D Dzięki