mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Bugfix attempt #6: improved visibility of paintComponent from protected to public
This commit is contained in:
@@ -148,9 +148,6 @@ public final class FControl {
|
||||
|
||||
default:
|
||||
}
|
||||
|
||||
Singletons.getView().validate();
|
||||
Singletons.getView().repaint();
|
||||
}
|
||||
|
||||
/** Gets the match controller.
|
||||
|
||||
@@ -346,7 +346,7 @@ public class ViewMatchUI extends FPanel {
|
||||
* Graphics object
|
||||
*/
|
||||
@Override
|
||||
protected void paintComponent(final Graphics g) {
|
||||
public void paintComponent(final Graphics g) {
|
||||
h = getHeight();
|
||||
w = getWidth();
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@ public class FPanel extends JPanel {
|
||||
* @see javax.swing.JComponent#paintComponent(java.awt.Graphics)
|
||||
*/
|
||||
@Override
|
||||
protected void paintComponent(final Graphics graphics0) {
|
||||
public void paintComponent(final Graphics graphics0) {
|
||||
super.paintComponent(graphics0);
|
||||
|
||||
pnlW = this.getWidth();
|
||||
|
||||
Reference in New Issue
Block a user