Skip to content

Commit

Permalink
Update TitledSeparatorSnippet.java
Browse files Browse the repository at this point in the history
  • Loading branch information
wimjongman authored Nov 27, 2024
1 parent b029731 commit e539fb8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public static void main(final String[] args) {
final Shell shell = new Shell(display);
shell.setLayout(new GridLayout(1, false));

byte[] imageBytes = Base64.getDecoder().decode(IMAGE);
final Image icon = new Image(display, new ByteArrayInputStream(imageBytes));
final byte[] imageBytes = Base64.getDecoder().decode(IMAGE);
final Image icon = new Image(display, new ByteArrayInputStream(imageBytes));
final Font font = new Font(display, "Courier New", 18, SWT.BOLD | SWT.ITALIC);

// Default separator (no image, title aligned on the left)
Expand Down

0 comments on commit e539fb8

Please sign in to comment.