File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ else if (e.getSource() == saveFile || e.getSource() == saveButton) {
506
506
saveFile ();
507
507
}// If the source of the event was the "Bold" button
508
508
else if (e .getSource () == boldButton ) {
509
- if (textArea .getFont ().getStyle () == Font .BOLD ){
509
+ if (textArea .getFont ().getStyle () == Font .BOLD ){
510
510
textArea .setFont (textArea .getFont ().deriveFont (Font .PLAIN ));
511
511
512
512
}
@@ -517,7 +517,7 @@ else if (e.getSource() == boldButton) {
517
517
518
518
}// If the source of the event was the "Italic" button
519
519
else if (e .getSource () == italicButton ) {
520
- if (textArea .getFont ().getStyle () == Font .ITALIC ){
520
+ if (textArea .getFont ().getStyle () == Font .ITALIC ){
521
521
textArea .setFont (textArea .getFont ().deriveFont (Font .PLAIN ));
522
522
523
523
}
You can’t perform that action at this time.
0 commit comments