Skip to content

Commit

Permalink
setFont
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Nov 14, 2023
1 parent 40566b9 commit c8e8105
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void setImage(BufferedImage img) {
*/
public void setFontIndex(int index)
{
getFont().deriveFont(index);
setFont(getFont().deriveFont(index));
}

/**
Expand Down

0 comments on commit c8e8105

Please sign in to comment.