-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from vincenzopalazzo/macros/title_pane
title-pane: fixes button behavior
- Loading branch information
Showing
5 changed files
with
45 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* MIT License | ||
* | ||
* Copyright (c) 2019-2020 Vincenzo Palazzo [email protected] | ||
* Copyright (c) 2019-2022 Vincenzo Palazzo [email protected] | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
|
@@ -23,7 +23,6 @@ | |
*/ | ||
package mdlaf.components.button; | ||
|
||
import java.awt.*; | ||
import javax.swing.*; | ||
|
||
/** | ||
|
@@ -45,11 +44,4 @@ public void installUI(JComponent c) { | |
borderEnabled = false; | ||
buttonBorderToAll = false; | ||
} | ||
|
||
@Override | ||
protected void paintFocus( | ||
Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) {} | ||
|
||
@Override | ||
protected void paintBorderButton(Graphics graphics, JComponent b) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters