Skip to content

Commit

Permalink
Changed window UI buttons to work on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
rowak authored and rowak committed Oct 5, 2019
1 parent fd246d4 commit 0777c2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public class HideButton extends JLabel
{
public HideButton(final JFrame frame)
{
setText("–");
setText((char)0x2013 + "");
//setText("�");
setForeground(Color.WHITE);
setFont(new Font("Tahoma", Font.BOLD, 30));
addMouseListener(new MouseAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ public class MaximizeButton extends JLabel
{
public MaximizeButton(final JFrame frame)
{
setText("\u20de");
setText((char)0x25A1 + "");
//setText("\u20de");
setForeground(Color.WHITE);
setFont(new Font("Tahoma", Font.BOLD, 25));
addMouseListener(new MouseAdapter()
Expand Down

0 comments on commit 0777c2d

Please sign in to comment.